From 570e5d70f32aeb34b1c1ad7623c71f7363ce4dfc Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 3 Feb 2014 15:48:34 +1100 Subject: fdo#74425 Remove deprecated static function ResMgr::GetLang() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara --- include/tools/resmgr.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'include/tools') diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx index dd993a65a5f1..2aef810cbdf7 100644 --- a/include/tools/resmgr.hxx +++ b/include/tools/resmgr.hxx @@ -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, -- cgit