From 5931dbb53ebb2ff1e5670ad6537a41f996c0277c Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 15 Dec 2012 09:34:06 +0100 Subject: Oups changed this file by error Change-Id: I9bf2a5f260828ed58abdc312ba3df7c2ed1c18e5 --- oox/source/vml/vmlshapecontainer.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'oox') diff --git a/oox/source/vml/vmlshapecontainer.cxx b/oox/source/vml/vmlshapecontainer.cxx index 6b999bdb523f..4355b115bfcc 100644 --- a/oox/source/vml/vmlshapecontainer.cxx +++ b/oox/source/vml/vmlshapecontainer.cxx @@ -46,11 +46,8 @@ 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 JUL" ); - if (orMap.find( rShapeId ) == orMap.end()) - { - orMap[ rShapeId ] = *aIt; - } + OSL_ENSURE( orMap.find( rShapeId ) == orMap.end(), "lclMapShapesById - shape identifier already used " ); + orMap[ rShapeId ] = *aIt; } } } -- cgit