diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 13:48:44 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 13:48:44 +0000 |
commit | d925bf5cbc3cd2c7f91288e7cf26973a34818781 (patch) | |
tree | 9b7fcef14011dfeae06d7b21ed1f6d900cdd5aa5 /autodoc/source/parser | |
parent | fbf41c95259be2ac310a27a2e0d95d8804e131e7 (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/source/parser')
-rw-r--r-- | autodoc/source/parser/cpp/pe_type.cxx | 11 |
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 316d8fce03d4..44aa2223bd05 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 |