r19588 by jghali - PageItem destructor needs to be virtual
scribus-commit
scribus-commit at lists.scribus.net
Wed Oct 15 23:14:16 UTC 2014
Author: jghali
Date: Wed Oct 15 23:14:16 2014
New Revision: 19588
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19588
Log:
PageItem destructor needs to be virtual
Modified:
trunk/Scribus/scribus/pageitem.h
Modified: trunk/Scribus/scribus/pageitem.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19588&path=/trunk/Scribus/scribus/pageitem.h
==============================================================================
--- trunk/Scribus/scribus/pageitem.h (original)
+++ trunk/Scribus/scribus/pageitem.h Wed Oct 15 23:14:16 2014
@@ -216,7 +216,7 @@
public: // Start public functions
PageItem(ScribusDoc *pa, ItemType newType, double x, double y, double w, double h, double w2, QString fill, QString outline);
- ~PageItem();
+ virtual ~PageItem();
/* these do essentially the same as a dynamic cast but might be more readable */
virtual PageItem_Arc * asArc() { return NULL; } ///< Return self if Arc item, otherwise null
More information about the scribus-commit
mailing list