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

New commits:
commit 5931dbb53ebb2ff1e5670ad6537a41f996c0277c
Author: Julien Nabet <serval2...@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;
         }
     }
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to