summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-23 17:03:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-23 17:03:47 +0100
commit0593ef5c57daa85f5982e57d11618b631aa5692d (patch)
tree2923490a746f14e77080fe5b78a3c8db210c33b5
parentf8506ca12e5cd35126ea419c7b7bb26d0920c4b4 (diff)
Get rid of CREATEVERSIONRESMGR_NAME
-rw-r--r--binfilter/bf_svtools/source/misc/svt_ehdl.cxx4
-rw-r--r--binfilter/bf_svtools/source/misc1/svt_svtdata.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/binfilter/bf_svtools/source/misc/svt_ehdl.cxx b/binfilter/bf_svtools/source/misc/svt_ehdl.cxx
index 7dceeaf42..819ebe210 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 cbb72eb3f..26a8ba5b2 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;
}