From 86ffa606478d18968babe809931be65463399fbb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Feb 2012 17:01:23 +0100 Subject: Get rid of CREATEVERSIONRESMGR[_NAME] --- ucbhelper/workben/ucbexplorer/ucbexplorer.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ucbhelper') diff --git a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx index c97a756a78bd..0fc4fb34f5fd 100644 --- a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx +++ b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx @@ -353,7 +353,7 @@ BOOL UcbExplorerListBoxEntry::createNewContent( const ContentInfo& rInfo, const OUString& rName = pProps[ n ].Name; std::auto_ptr< ResMgr > xManager( - ResMgr::CreateResMgr( CREATEVERSIONRESMGR_NAME( ucbexplorer ) ) ); + ResMgr::CreateResMgr( "ucbexplorer" ) ); StringInputDialog* pDlg = new StringInputDialog( *xManager.get(), rName, rName ); USHORT nRet = pDlg->Execute(); if ( nRet == RET_OK ) @@ -441,7 +441,7 @@ BOOL UcbExplorerListBoxEntry::createNewContent( const ContentInfo& rInfo, // data to supply to the new content. std::auto_ptr< ResMgr > xManager( - ResMgr::CreateResMgr( CREATEVERSIONRESMGR_NAME( ucbexplorer ) ) ); + ResMgr::CreateResMgr( "ucbexplorer" ) ); StringInputDialog* pDlg = new StringInputDialog( *xManager.get(), OUString(RTL_CONSTASCII_USTRINGPARAM( @@ -649,7 +649,7 @@ void UcbExplorerTreeListBox::Command( const CommandEvent& rCEvt ) if ( pEntry ) { std::auto_ptr< ResMgr > xManager( - ResMgr::CreateResMgr( CREATEVERSIONRESMGR_NAME( ucbexplorer ) ) ); + ResMgr::CreateResMgr( "ucbexplorer" ) ); PopupMenu* pMenu = new PopupMenu( ResId( MENU_POPUP, *xManager.get() ) ); PopupMenu* pNewMenu = 0; @@ -764,7 +764,7 @@ void UcbExplorerTreeListBox::Command( const CommandEvent& rCEvt ) } std::auto_ptr< ResMgr > xManager( - ResMgr::CreateResMgr( CREATEVERSIONRESMGR_NAME( ucbexplorer ) ) ); + ResMgr::CreateResMgr( "ucbexplorer" ) ); StringInputDialog* pDlg = new StringInputDialog( *xManager.get(), @@ -1137,8 +1137,7 @@ void MyApp::Main() // Create/init/show app window. ////////////////////////////////////////////////////////////////////// - std::auto_ptr< ResMgr > xManager( - ResMgr::CreateResMgr( CREATEVERSIONRESMGR_NAME( ucbexplorer ) ) ); + std::auto_ptr< ResMgr > xManager( ResMgr::CreateResMgr( "ucbexplorer" ) ); UcbExplorerWindow aAppWin( *xManager.get(), 0, WB_APP | WB_STDWORK ); -- cgit