diff options
author | Eike Rathke <erack@redhat.com> | 2013-07-10 20:52:25 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-07-10 20:53:56 +0200 |
commit | 3bc422573b480476bdfa775bdcf259532f4e09c6 (patch) | |
tree | 0c7546816803fc8470a9423cf27c77b5b897fb4b | |
parent | d3a221df1a513642da16f1301db7734fc003a0c7 (diff) |
removed unused language/country string member variables
Change-Id: I7659dac1a3d17b4099f310fd7b6d17455bdda2eb
-rw-r--r-- | include/sfx2/sfxhelp.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 22 |
2 files changed, 0 insertions, 24 deletions
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index 217f802ccaa7..b92bc9dd66ab 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 2cde9aef54fa..6d5244b2fba1 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() |