https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b5a6357d932ea6cc4e319…
commit b5a6357d932ea6cc4e3198bb4ad1956b6a235f0c
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Dec 29 01:19:49 2021 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Dec 29 01:28:55 2021 +0100
[RAPPS] Remove some dead code.
CAvailableApps::GetFolderPath() and friends are unnecessary, since
the data they return are public members of the m_Strings global structure,
that are already being used directly by other code.
---
base/applications/rapps/available.cpp | 15 ---------------
base/applications/rapps/include/available.h | 4 ----
2 files changed, 19 deletions(-)
diff --git a/base/applications/rapps/available.cpp
b/base/applications/rapps/available.cpp
index 3f8e30243df..fcc069b8d0a 100644
--- a/base/applications/rapps/available.cpp
+++ b/base/applications/rapps/available.cpp
@@ -613,19 +613,4 @@ ATL::CSimpleArray<CAvailableApplicationInfo>
CAvailableApps::FindAppsByPkgNameLi
}
return result;
}
-
-const ATL::CStringW& CAvailableApps::GetFolderPath() const
-{
- return m_Strings.szPath;
-}
-
-const ATL::CStringW& CAvailableApps::GetAppPath() const
-{
- return m_Strings.szAppsPath;
-}
-
-const ATL::CStringW& CAvailableApps::GetCabPath() const
-{
- return m_Strings.szCabPath;
-}
// CAvailableApps
diff --git a/base/applications/rapps/include/available.h
b/base/applications/rapps/include/available.h
index 92a846aa5e9..fa2a13a144f 100644
--- a/base/applications/rapps/include/available.h
+++ b/base/applications/rapps/include/available.h
@@ -129,8 +129,4 @@ public:
CAvailableApplicationInfo* FindAppByPkgName(const ATL::CStringW& szPkgName)
const;
ATL::CSimpleArray<CAvailableApplicationInfo> FindAppsByPkgNameList(const
ATL::CSimpleArray<ATL::CStringW> &arrAppsNames) const;
//ATL::CSimpleArray<CAvailableApplicationInfo> GetSelected() const;
-
- const ATL::CStringW& GetFolderPath() const;
- const ATL::CStringW& GetAppPath() const;
- const ATL::CStringW& GetCabPath() const;
};