[PATCH] Rewrite fix to use the same SimpleResMgr ctor as it did before

Stephan Bergmann sbergman at redhat.com
Thu Feb 23 09:03:13 PST 2012


...as the two actually behave subtly differently.
---
 fpicker/source/win32/misc/resourceprovider.cxx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

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());
     }
 
     //-------------------------------------
-- 
1.7.7.6


--------------000700020001020806010004--


More information about the LibreOffice mailing list