diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-23 17:01:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-23 17:05:10 +0100 |
commit | 86ffa606478d18968babe809931be65463399fbb (patch) | |
tree | ec4772a2a3df014b39211dc5c2e5ffc7d7d548c2 /ucbhelper | |
parent | 64de14a0c14d5c0f47692f4a956d71bfe75614aa (diff) |
Get rid of CREATEVERSIONRESMGR[_NAME]
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/workben/ucbexplorer/ucbexplorer.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
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 ); |