summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-23 17:01:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-23 17:05:10 +0100
commit86ffa606478d18968babe809931be65463399fbb (patch)
treeec4772a2a3df014b39211dc5c2e5ffc7d7d548c2 /svtools
parent64de14a0c14d5c0f47692f4a956d71bfe75614aa (diff)
Get rid of CREATEVERSIONRESMGR[_NAME]
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/ehdl.cxx6
-rw-r--r--svtools/source/misc/svtdata.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx
index 5d16ec9e7d69..8272e0ddba5a 100644
--- a/svtools/source/misc/ehdl.cxx
+++ b/svtools/source/misc/ehdl.cxx
@@ -161,7 +161,7 @@ SfxErrorHandler::SfxErrorHandler(sal_uInt16 nIdP, sal_uLong lStartP, sal_uLong l
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 );
}
}
@@ -311,7 +311,7 @@ sal_Bool SfxErrorHandler::GetClassString(sal_uLong lClassId, String &rStr) const
{
sal_Bool bRet = sal_False;
com::sun::star::lang::Locale aLocale( Application::GetSettings().GetUILocale() );
- ResMgr* pResMgr = ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(ofa), aLocale );
+ ResMgr* pResMgr = ResMgr::CreateResMgr("ofa", aLocale );
if( pResMgr )
{
ResId aId(RID_ERRHDL, *pResMgr );
@@ -441,7 +441,7 @@ sal_Bool SfxErrorContext::GetString(sal_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/svtools/source/misc/svtdata.cxx b/svtools/source/misc/svtdata.cxx
index 6debd9cfca95..66489f1a7d02 100644
--- a/svtools/source/misc/svtdata.cxx
+++ b/svtools/source/misc/svtdata.cxx
@@ -49,7 +49,7 @@ ResMgr * ImpSvtData::GetResMgr(const ::com::sun::star::lang::Locale aLocale)
{
if (!pResMgr)
{
- pResMgr = ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(svt), aLocale );
+ pResMgr = ResMgr::CreateResMgr("svt", aLocale );
}
return pResMgr;
}