diff options
author | Mathias Bauer <mba@openoffice.org> | 2011-01-12 11:56:09 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2011-01-12 11:56:09 +0100 |
commit | 9b73b029b91f96922c055206ee820ea6b42647d6 (patch) | |
tree | afc2a8b6665fc2ca1a545c18c128983ceb370de2 /sfx2/source/appl/appmain.cxx | |
parent | f27dec459621543c9dcd94c72ab6af8147b8b4d6 (diff) |
CWS gnumake3: #i86790#: clean up mess with ooo+iso resource files
Diffstat (limited to 'sfx2/source/appl/appmain.cxx')
-rw-r--r-- | sfx2/source/appl/appmain.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sfx2/source/appl/appmain.cxx b/sfx2/source/appl/appmain.cxx index 546b6b1c6558..26f07c7b8366 100644 --- a/sfx2/source/appl/appmain.cxx +++ b/sfx2/source/appl/appmain.cxx @@ -160,35 +160,6 @@ void SfxApplication::PreInit( ) { } -//--------------------------------------------------------------------------- -bool SfxApplication::InitLabelResMgr( const char* _pLabelPrefix, bool _bException ) -{ - bool bRet = false; - // Label-DLL mit diversen Resourcen fuer OEM-Ver. etc. (Intro, Titel, About) - DBG_ASSERT( _pLabelPrefix, "Wrong initialisation!" ); - if ( _pLabelPrefix ) - { - // versuchen, die Label-DLL zu erzeugen - pAppData_Impl->pLabelResMgr = CreateResManager( _pLabelPrefix ); - - // keine separate Label-DLL vorhanden? - if ( !pAppData_Impl->pLabelResMgr ) - { - if ( _bException ) - { - // maybe corrupted installation - throw (::com::sun::star::uno::RuntimeException( - ::rtl::OUString::createFromAscii("iso resource could not be loaded by SfxApplication"), - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >())); - } - } - else - bRet = true; - } - - return bRet; -} - void SfxApplication::Main( ) { } |