From 443756d3c4c19456547ced34a27cb522178df19d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 20 Jun 2011 00:15:51 +0100 Subject: totally pointless intermediate object --- basctl/source/basicide/iderdll.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'basctl') 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() ); -- cgit