svx/source/unodraw/unomod.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit e7d646b46e152131b1d51f0d0719afd72c41c744
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Tue Apr 8 20:46:56 2014 +0200

    cppcheck: multiCondition
    
    style Expression is always false because 'else if' condition matches 
previous condition
    See 
http://nabble.documentfoundation.org/Cppcheck-reports-else-if-condition-matches-previous-condition-svx-td4104268.html
    
    Change-Id: I00a41a3ffc6aafd9aee6da09ab2372f155529263

diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 073719b..223b73a 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -457,10 +457,6 @@ uno::Reference< uno::XInterface > SAL_CALL 
SvxUnoDrawingModel::createInstance( c
         {
             nType = OBJ_OLE2;
         }
-        else if( aTypeName.startsWith( "TableShape" ) )
-        {
-            nType = OBJ_OLE2;
-        }
         else if( aTypeName.startsWith( "OrgChartShape" ) )
         {
             nType = OBJ_OLE2;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to