From 3bc422573b480476bdfa775bdcf259532f4e09c6 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 10 Jul 2013 20:52:25 +0200 Subject: removed unused language/country string member variables Change-Id: I7659dac1a3d17b4099f310fd7b6d17455bdda2eb --- sfx2/source/appl/sfxhelp.cxx | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'sfx2') 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() -- cgit v1.2.3