summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-01-12 11:56:09 +0100
committerMathias Bauer <mba@openoffice.org>2011-01-12 11:56:09 +0100
commit9b73b029b91f96922c055206ee820ea6b42647d6 (patch)
treeafc2a8b6665fc2ca1a545c18c128983ceb370de2 /desktop
parentf27dec459621543c9dcd94c72ab6af8147b8b4d6 (diff)
CWS gnumake3: #i86790#: clean up mess with ooo+iso resource files
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index a49cabc90bed..fd210f7248df 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1608,14 +1608,8 @@ void Desktop::Main()
// create title string
sal_Bool bCheckOk = sal_False;
::com::sun::star::lang::Locale aLocale;
- String aMgrName = String::CreateFromAscii( "iso" );
+ String aMgrName = String::CreateFromAscii( "ofa" );
ResMgr* pLabelResMgr = ResMgr::SearchCreateResMgr( U2S( aMgrName ), aLocale );
- if ( !pLabelResMgr )
- {
- // no "iso" resource -> search for "ooo" resource
- aMgrName = String::CreateFromAscii( "ooo" );
- pLabelResMgr = ResMgr::SearchCreateResMgr( U2S( aMgrName ), aLocale);
- }
String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String();
delete pLabelResMgr;