summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-04-08 20:46:56 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-04-08 20:54:39 +0200
commite7d646b46e152131b1d51f0d0719afd72c41c744 (patch)
tree33b5dab64776d19a1e05b5ad1afbb75b0a2e832e /svx
parent385e6e508af0f2a5c2bd72209ba94f58e8c92f70 (diff)
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
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unomod.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 073719bbabb6..223b73a3b152 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;