[Libreoffice-commits] .: fpicker/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Thu Feb 23 23:26:38 PST 2012


 fpicker/source/win32/misc/resourceprovider.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 9133fd623f2271da92a8a9f905f4c9c61a3de956
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 23 18:03:13 2012 +0100

    Rewrite fix to use the same SimpleResMgr ctor as it did before
    
    ...as the two actually behave subtly differently.

diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index f288f7a..629d195 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());
     }
 
     //-------------------------------------


More information about the Libreoffice-commits mailing list