summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-11-25 09:47:17 +0000
committerRüdiger Timm <rt@openoffice.org>2003-11-25 09:47:17 +0000
commit1f69c510cb956e4acd2945854f4eea7ad057e489 (patch)
treea62cbb5b3675c4f73428a2a9a8c49179fbb07b45 /desktop
parentab0ddd8f5c6e1f209877eb0b6d5c67a521a1f8da (diff)
INTEGRATION: CWS valgrind01 (1.122.18); FILE MERGED
2003/11/03 18:54:45 hr 1.122.18.2: RESYNC: (1.122-1.123); FILE MERGED 2003/09/26 14:03:17 hr 1.122.18.1: #i20184#: Initialize aLanguageType before passing it to ResMgr::SearchCreateResMgr(). Thanks to Julian Seward for providing a patch.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index de7bfe825e01..4bb353779136 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: app.cxx,v $
*
- * $Revision: 1.124 $
+ * $Revision: 1.125 $
*
- * last change: $Author: hr $ $Date: 2003-11-07 14:51:04 $
+ * last change: $Author: rt $ $Date: 2003-11-25 10:47:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1363,7 +1363,7 @@ void Desktop::Main()
// create title string
sal_Bool bCheckOk = sal_False;
- LanguageType aLanguageType;
+ LanguageType aLanguageType = LANGUAGE_DONTKNOW;
String aMgrName = String::CreateFromAscii( "iso" );
aMgrName += String::CreateFromInt32(SUPD); // current build version
ResMgr* pLabelResMgr = ResMgr::SearchCreateResMgr( U2S( aMgrName ), aLanguageType );