diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:29:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:29:38 +0000 |
commit | f9ffbfda5887e3dc0660558a9363e5991d08ce81 (patch) | |
tree | 4ac431e90fd003dfdd33789df2fcbf9c0736f04a /xmloff | |
parent | b493d5f678321352ec53da204c4b76335d5d2099 (diff) |
INTEGRATION: CWS hr50 (1.26.166); FILE MERGED
2008/04/09 11:05:52 hr 1.26.166.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/DocumentSettingsContext.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index 8b164f2bd5c6..c9e0639fe685 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DocumentSettingsContext.cxx,v $ - * $Revision: 1.27 $ + * $Revision: 1.28 $ * * This file is part of OpenOffice.org. * @@ -640,15 +640,17 @@ void XMLConfigItemContext::EndElement() { mrAny <<= maDecoded; } - else + else { DBG_ERROR("wrong type"); + } ManipulateConfigItem(); mpBaseContext->AddPropertyValue(); } - else + else { DBG_ERROR("no BaseContext"); + } } /** There are some instances where there is a mismatch between API and @@ -735,8 +737,9 @@ void XMLConfigItemMapNamedContext::EndElement() mrAny <<= maProps.GetNameContainer(); mpBaseContext->AddPropertyValue(); } - else + else { DBG_ERROR("no BaseContext"); + } } //============================================================================= @@ -956,7 +959,8 @@ void XMLConfigItemMapIndexedContext::EndElement() } mpBaseContext->AddPropertyValue(); } - else + else { DBG_ERROR("no BaseContext"); + } } |