fdo#74425 Remove deprecated static function ResMgr::GetLang()
ResMgr::GetLang() has been deprecated for a long time now. It is used by only one function, SubstitutePathVariables::SetPredefinedPathVariables() in the framework module. I have therefore removed it from ResMgr and placed it as a function in framework/source/services/substitutepathvars.cxx where it is actually used. Change-Id: I5f0d8f701aa45f8653020affeff6339f8fc9bc0e Reviewed-on: https://gerrit.libreoffice.org/7791 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
committed by
Caolán McNamara
parent
45df5281f0
commit
570e5d70f3
@@ -132,7 +132,6 @@ public:
|
||||
~ResMgr();
|
||||
|
||||
/// Language-dependent resource library
|
||||
static const sal_Char* GetLang( LanguageType& eLanguage, sal_uInt16 nPrio = 0 ); ///< @deprecated see "tools/source/rc/resmgr.cxx"
|
||||
static ResMgr* SearchCreateResMgr( const sal_Char* pPrefixName,
|
||||
LanguageTag& rLocale );
|
||||
static ResMgr* CreateResMgr( const sal_Char* pPrefixName,
|
||||
|
Reference in New Issue
Block a user