include/sfx2/sfxhelp.hxx | 2 -- sfx2/source/appl/sfxhelp.cxx | 22 ---------------------- 2 files changed, 24 deletions(-)
New commits: commit 3bc422573b480476bdfa775bdcf259532f4e09c6 Author: Eike Rathke <[email protected]> Date: Wed Jul 10 20:52:25 2013 +0200 removed unused language/country string member variables Change-Id: I7659dac1a3d17b4099f310fd7b6d17455bdda2eb diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index 217f802..b92bc9d 100644 --- a/include/sfx2/sfxhelp.hxx +++ b/include/sfx2/sfxhelp.hxx @@ -31,8 +31,6 @@ class SFX2_DLLPUBLIC SfxHelp : public Help { OUString aTicket; // for Plugins OUString aUser; - OUString aLanguageStr; - OUString aCountryStr; sal_Bool bIsDebug; SfxHelp_Impl* pImp; diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 2cde9ae..6d5244b 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -231,28 +231,6 @@ SfxHelp::SfxHelp() : } pImp = new SfxHelp_Impl(); - - OUString aLocaleStr = HelpLocaleString(); - - sal_Int32 nSepPos = aLocaleStr.indexOf( '_' ); - if ( nSepPos != -1 ) - { - aLanguageStr = aLocaleStr.copy( 0, nSepPos ); - aCountryStr = aLocaleStr.copy( nSepPos+1 ); - } - else - { - nSepPos = aLocaleStr.indexOf( '-' ); - if ( nSepPos != -1 ) - { - aLanguageStr = aLocaleStr.copy( 0, nSepPos ); - aCountryStr = aLocaleStr.copy( nSepPos+1 ); - } - else - { - aLanguageStr = aLocaleStr; - } - } } SfxHelp::~SfxHelp() _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
