summaryrefslogtreecommitdiff
path: root/padmin/source/helper.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-27 15:25:42 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-27 15:25:42 +0100
commit27f360b33062e463f86817ae3e9af5785ad944bf (patch)
tree7e3b068ed6dddf2bb9bd2beb89cab3df77a1a511 /padmin/source/helper.cxx
parent24ede84c0991ed924f903c6c7677e0e44525abef (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'padmin/source/helper.cxx')
-rw-r--r--padmin/source/helper.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/padmin/source/helper.cxx b/padmin/source/helper.cxx
index fb5ce09ad355..2a51c30bd0d3 100644
--- a/padmin/source/helper.cxx
+++ b/padmin/source/helper.cxx
@@ -47,12 +47,14 @@
using namespace osl;
-using namespace rtl;
using namespace padmin;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::ui::dialogs;
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
+
#define MAX_PATH 1024
/*
@@ -65,7 +67,6 @@ ResId padmin::PaResId( sal_uInt32 nId )
if( ! pPaResMgr )
{
::com::sun::star::lang::Locale aLocale;
-// LanguageType nLang = LANGUAGE_SYSTEM;
utl::OConfigurationNode aNode =
utl::OConfigurationTreeRoot::tryCreateWithServiceFactory(
@@ -77,9 +78,6 @@ ResId padmin::PaResId( sal_uInt32 nId )
Any aValue = aNode.getNodeValue( OUString(RTL_CONSTASCII_USTRINGPARAM("ooLocale")) );
if( aValue >>= aLoc )
{
-// LanguageType nTmpLang = MsLangId::convertIsoStringToLanguage( aLoc );
-// if( nTmpLang != LANGUAGE_DONTKNOW )
-// nLang = nTmpLang;
sal_Int32 nIndex = 0;
aLocale.Language = aLoc.getToken( 0, '-', nIndex );
aLocale.Country = aLoc.getToken( 0, '-', nIndex );
@@ -88,7 +86,6 @@ ResId padmin::PaResId( sal_uInt32 nId )
}
pPaResMgr = ResMgr::SearchCreateResMgr( "spa", aLocale );
AllSettings aSettings = Application::GetSettings();
-// aSettings.SetUILanguage( nLang );
aSettings.SetUILocale( aLocale );
Application::SetSettings( aSettings );
}