diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 17:52:40 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 17:52:40 +0000 |
commit | e492889fd62fd99e6f2302fc7aabdfc33a656b76 (patch) | |
tree | 356f6f40a5af6b1f5ba70cbe991587c26f5053d7 /xmloff/source/transform/EventOOoTContext.cxx | |
parent | 86092a63ed9bb95f7e0c981a4eca57c1cf9f7baf (diff) |
INTEGRATION: CWS warnings01 (1.4.32); FILE MERGED
2006/05/23 19:19:19 sb 1.4.32.3: RESYNC: (1.5-1.6); FILE MERGED
2006/04/07 18:41:49 sb 1.4.32.2: RESYNC: (1.4-1.5); FILE MERGED
2005/11/04 14:50:32 cl 1.4.32.1: warning free code changes
Diffstat (limited to 'xmloff/source/transform/EventOOoTContext.cxx')
-rw-r--r-- | xmloff/source/transform/EventOOoTContext.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/xmloff/source/transform/EventOOoTContext.cxx b/xmloff/source/transform/EventOOoTContext.cxx index 6c4c65b5912e..801e0b0c3092 100644 --- a/xmloff/source/transform/EventOOoTContext.cxx +++ b/xmloff/source/transform/EventOOoTContext.cxx @@ -4,9 +4,9 @@ * * $RCSfile: EventOOoTContext.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2006-05-04 09:09:42 $ + * last change: $Author: hr $ $Date: 2006-06-19 18:52:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -100,8 +100,11 @@ void XMLTransformerOOoEventMap_Impl::AddMap( XMLTransformerEventMapEntry *pInit XMLTransformerOOoEventMap_Impl::value_type aVal( aKey, aData ); - bool bInserted = insert( aVal ).second; - OSL_ENSURE( bInserted, "duplicate OOo event name extry" ); + if( !insert( aVal ).second ) + { + OSL_ENSURE( false, "duplicate OOo event name extry" ); + } + ++pInit; } } |