diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 14:38:40 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 14:38:40 +0000 |
commit | a4db203d166808efb3c221f54ac8835d0616f40e (patch) | |
tree | 458e0662dbdd8dec223ee989f23154cda6168cab /toolkit/source | |
parent | f4fdee29b3da5c3076753f9b405cf66d79a61e63 (diff) |
INTEGRATION: CWS mergebuild (1.1.156); FILE MERGED
2004/01/29 11:34:22 hjs 1.1.156.1: #i8252# chng. resmgr creation parameters from LanguageType to ::com::sun::star::lang::Locale
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/helper/tkresmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/helper/tkresmgr.cxx b/toolkit/source/helper/tkresmgr.cxx index 75732700ba4f..a6132e561ba0 100644 --- a/toolkit/source/helper/tkresmgr.cxx +++ b/toolkit/source/helper/tkresmgr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tkresmgr.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: tbe $ $Date: 2002-03-18 17:48:34 $ + * last change: $Author: hjs $ $Date: 2004-06-25 15:38:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -92,12 +92,12 @@ void TkResMgr::ensureImplExists() if (m_pImpl) return; - LanguageType nType = Application::GetSettings().GetUILanguage(); + ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale(); ByteString sResMgrName( "tk" ); sResMgrName += ByteString::CreateFromInt32( (sal_Int32)SUPD ); - m_pImpl = SimpleResMgr::Create( sResMgrName.GetBuffer(), nType ); + m_pImpl = SimpleResMgr::Create( sResMgrName.GetBuffer(), aLocale ); if (m_pImpl) { |