summaryrefslogtreecommitdiff
path: root/autodoc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 13:48:19 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 13:48:19 +0000
commit02a4e21d50870b062bb492f58a5cda73ca574be7 (patch)
treeb51ebda7b0edca86a1c239dacb00b1c95fc9fcfd /autodoc
parent132a2ffc3bba39a66ff31e9b17586c76177cb196 (diff)
INTEGRATION: CWS hr50 (1.9.20); FILE MERGED
2008/03/10 15:47:40 hr 1.9.20.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'autodoc')
-rw-r--r--autodoc/source/exes/adc_uni/adc_cmd_parse.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/autodoc/source/exes/adc_uni/adc_cmd_parse.cxx b/autodoc/source/exes/adc_uni/adc_cmd_parse.cxx
index 5a80106a83e8..53b8389520c4 100644
--- a/autodoc/source/exes/adc_uni/adc_cmd_parse.cxx
+++ b/autodoc/source/exes/adc_uni/adc_cmd_parse.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: adc_cmd_parse.cxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@@ -82,14 +82,18 @@ S_LanguageInfo::do_Init( opt_iter & it,
"language",
C_opt_LangAll );
- if ( *it == C_arg_Cplusplus )
+ if ( *it == C_arg_Cplusplus ) {
eLanguage = cpp;
- else if ( *it == C_arg_Idl )
+ }
+ else if ( *it == C_arg_Idl ) {
eLanguage = idl;
- else if ( *it == C_arg_Java )
+ }
+ else if ( *it == C_arg_Java ) {
eLanguage = java;
- else
+ }
+ else {
csv_assert(false);
+ }
switch (eLanguage)
{