diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/vml/vmlshapecontainer.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/oox/source/vml/vmlshapecontainer.cxx b/oox/source/vml/vmlshapecontainer.cxx index 31ad4cc90a08..6b999bdb523f 100644 --- a/oox/source/vml/vmlshapecontainer.cxx +++ b/oox/source/vml/vmlshapecontainer.cxx @@ -46,8 +46,11 @@ void lclMapShapesById( RefMap< OUString, ShapeType >& orMap, const RefVector< Sh OSL_ENSURE( !rShapeId.isEmpty(), "lclMapShapesById - missing shape identifier" ); if( !rShapeId.isEmpty() ) { - OSL_ENSURE( orMap.find( rShapeId ) == orMap.end(), "lclMapShapesById - shape identifier already used" ); - orMap[ rShapeId ] = *aIt; + OSL_ENSURE( orMap.find( rShapeId ) == orMap.end(), "lclMapShapesById - shape identifier already used JUL" ); + if (orMap.find( rShapeId ) == orMap.end()) + { + orMap[ rShapeId ] = *aIt; + } } } } |