summaryrefslogtreecommitdiff
path: root/fpicker/source/win32
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-23 18:03:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-24 08:26:26 +0100
commit9133fd623f2271da92a8a9f905f4c9c61a3de956 (patch)
treef3c287029373ab5a4b773af804fb35724f1b77ad /fpicker/source/win32
parentfd7912d0b58c71dd15d23d99aa7b8ca157d2aeb1 (diff)
Rewrite fix to use the same SimpleResMgr ctor as it did before
...as the two actually behave subtly differently.
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r--fpicker/source/win32/misc/resourceprovider.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index f288f7afff92..629d19548417 100644
--- a/fpicker/source/win32/misc/resourceprovider.cxx
+++ b/fpicker/source/win32/misc/resourceprovider.cxx
@@ -120,9 +120,8 @@ public:
CResourceProvider_Impl( )
{
const SolarMutexGuard aGuard;
-
- com::sun::star::lang::Locale aLoc( Application::GetSettings().GetUILocale() );
- m_ResMgr = new SimpleResMgr( OUString( "fps_office" ), aLoc );
+ m_ResMgr = new SimpleResMgr(
+ "fps_office", Application::GetSettings().GetUILocale());
}
//-------------------------------------