r20817 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Jan 30 22:43:38 UTC 2016
Author: jghali
Date: Sat Jan 30 22:43:38 2016
New Revision: 20817
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20817
Log:
coverity #1350110: logically dead code
Modified:
trunk/Scribus/scribus/ui/outlinepalette.cpp
Modified: trunk/Scribus/scribus/ui/outlinepalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20817&path=/trunk/Scribus/scribus/ui/outlinepalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outlinepalette.cpp (original)
+++ trunk/Scribus/scribus/ui/outlinepalette.cpp Sat Jan 30 22:43:38 2016
@@ -102,10 +102,8 @@
QTreeWidget::dropEvent(e);
if (it == NULL)
return;
- OutlineTreeItem *item = (OutlineTreeItem*)it;
- if (item == NULL)
- return;
-
+
+ OutlineTreeItem *item = (OutlineTreeItem*) it;
OutlineTreeItem *itemPl = (OutlineTreeItem*)it->parent();
OutlineTreeItem *itemPg;
if (itemPl->type == 5)
More information about the scribus-commit
mailing list