summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-08 14:36:52 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-08 14:36:52 +0300
commitc34fabe9eaf1a02512bafc3c4e2cf9c3abba023c (patch)
treee56988b0261e8f81301e25026e65d5e6f797fc30 /vcl
parent68277c3249489c4e4364275eb5c5920f44fe40b1 (diff)
Bin a couple of pointless macros only used once
Change-Id: I7d0c812afbbeeb4ea9835f957024b6bf86dfdaaf
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/svdata.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 2a7bc93916dc..c3920db77901 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -167,15 +167,13 @@ Window* ImplGetDefaultWindow()
// -----------------------------------------------------------------------
-#define VCL_CREATERESMGR_NAME( Name ) #Name
-
ResMgr* ImplGetResMgr()
{
ImplSVData* pSVData = ImplGetSVData();
if ( !pSVData->mpResMgr )
{
LanguageTag aLocale( Application::GetSettings().GetUILanguageTag());
- pSVData->mpResMgr = ResMgr::SearchCreateResMgr( VCL_CREATERESMGR_NAME( vcl ), aLocale );
+ pSVData->mpResMgr = ResMgr::SearchCreateResMgr( "vcl", aLocale );
static bool bMessageOnce = false;
if( !pSVData->mpResMgr && ! bMessageOnce )