summaryrefslogtreecommitdiff
path: root/autodoc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 13:48:44 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 13:48:44 +0000
commitaf9a563efce09b34b5ddb1e409501893f1222f61 (patch)
tree7987b15ea5cc926cfe51b90dbe88aa3bbca589a5 /autodoc
parent3e691d745310de93dcbdf9ca796190ae9c7d5639 (diff)
INTEGRATION: CWS hr50 (1.9.20); FILE MERGED
2008/03/10 15:39:08 hr 1.9.20.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'autodoc')
-rw-r--r--autodoc/source/parser/cpp/pe_type.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/autodoc/source/parser/cpp/pe_type.cxx b/autodoc/source/parser/cpp/pe_type.cxx
index a0c8af00..cc370eaf 100644
--- a/autodoc/source/parser/cpp/pe_type.cxx
+++ b/autodoc/source/parser/cpp/pe_type.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pe_type.cxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@@ -396,12 +396,15 @@ void
PE_Type::On_start_TypeSpecializer(const char * i_sText)
{
SetTokenResult(done,stay);
- if (*i_sText == 'u')
+ if (*i_sText == 'u') {
pType->Set_Unsigned();
- else if (*i_sText == 's')
+ }
+ else if (*i_sText == 's') {
pType->Set_Signed();
- else
+ }
+ else {
csv_assert(false);
+ }
}
void