[Libreoffice-commits] .: binfilter/bf_svtools

Stephan Bergmann sbergmann at kemper.freedesktop.org
Thu Feb 23 08:04:11 PST 2012


 binfilter/bf_svtools/source/misc/svt_ehdl.cxx     |    4 ++--
 binfilter/bf_svtools/source/misc1/svt_svtdata.cxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 0593ef5c57daa85f5982e57d11618b631aa5692d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 23 17:03:47 2012 +0100

    Get rid of CREATEVERSIONRESMGR_NAME

diff --git a/binfilter/bf_svtools/source/misc/svt_ehdl.cxx b/binfilter/bf_svtools/source/misc/svt_ehdl.cxx
index 7dceeaf..819ebe2 100644
--- a/binfilter/bf_svtools/source/misc/svt_ehdl.cxx
+++ b/binfilter/bf_svtools/source/misc/svt_ehdl.cxx
@@ -168,7 +168,7 @@ SfxErrorHandler::SfxErrorHandler(USHORT nIdP, ULONG lStartP, ULONG lEndP, ResMgr
     if( ! pMgr )
     {
         com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
-        pFreeMgr = pMgr = ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(ofa), aLocale );
+        pFreeMgr = pMgr = ResMgr::CreateResMgr("ofa", aLocale );
     }
 }
 
@@ -426,7 +426,7 @@ BOOL SfxErrorContext::GetString(ULONG nErrId, ::String &rStr)
     if( ! pMgr )
     {
         com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
-        pFreeMgr = pMgr = ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(ofa), aLocale );
+        pFreeMgr = pMgr = ResMgr::CreateResMgr("ofa", aLocale );
     }
     if( pMgr )
     {
diff --git a/binfilter/bf_svtools/source/misc1/svt_svtdata.cxx b/binfilter/bf_svtools/source/misc1/svt_svtdata.cxx
index cbb72eb..26a8ba5 100644
--- a/binfilter/bf_svtools/source/misc1/svt_svtdata.cxx
+++ b/binfilter/bf_svtools/source/misc1/svt_svtdata.cxx
@@ -44,7 +44,7 @@ ImpSvtData::~ImpSvtData()
 ResMgr * ImpSvtData::GetResMgr(const ::com::sun::star::lang::Locale aLocale)
 {
     if (!pResMgr)
-        pResMgr = ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(bf_svt), aLocale );
+        pResMgr = ResMgr::CreateResMgr("bf_svt", aLocale );
     return pResMgr;
 }
 


More information about the Libreoffice-commits mailing list