summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 00:15:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:00:39 +0100
commit443756d3c4c19456547ced34a27cb522178df19d (patch)
tree2173b58bf30088b50a2421b8ce4c1ebd562a28db /basctl
parentd2d118362dea800d18a449261ba50f164076195c (diff)
totally pointless intermediate object
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/iderdll.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx
index 455f6306ea01..54b648402cd3 100644
--- a/basctl/source/basicide/iderdll.cxx
+++ b/basctl/source/basicide/iderdll.cxx
@@ -97,9 +97,8 @@ void BasicIDEDLL::Init()
SfxObjectFactory* pFact = &BasicDocShell::Factory();
(void)pFact;
- ByteString aResMgrName( "basctl" );
ResMgr* pMgr = ResMgr::CreateResMgr(
- aResMgrName.GetBuffer(), Application::GetSettings().GetUILocale() );
+ "basctl", Application::GetSettings().GetUILocale() );
BASIC_MOD() = new BasicIDEModule( pMgr, &BasicDocShell::Factory() );