[Libreoffice-commits] .: oox/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 15 00:35:41 PST 2012


 oox/source/vml/vmlshapecontainer.cxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 5931dbb53ebb2ff1e5670ad6537a41f996c0277c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Dec 15 09:34:06 2012 +0100

    Oups changed this file by error
    
    Change-Id: I9bf2a5f260828ed58abdc312ba3df7c2ed1c18e5

diff --git a/oox/source/vml/vmlshapecontainer.cxx b/oox/source/vml/vmlshapecontainer.cxx
index 6b999bd..4355b11 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;
         }
     }
 }


More information about the Libreoffice-commits mailing list