From kde-commits Sun Apr 13 16:53:22 2008 From: Johannes Simon Date: Sun, 13 Apr 2008 16:53:22 +0000 To: kde-commits Subject: koffice/interfaces Message-Id: <1208105602.334189.13623.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120810561304034 SVN commit 796478 by jsimon: Undo last commit. Pure virtual interfaces cannot be dynamic_cast'ed. Meh. M +9 -0 koChart.cc M +3 -2 koChart.h --- trunk/koffice/interfaces/koChart.cc #796477:796478 @@ -55,4 +55,13 @@ return 0; } + +ChartInterface::ChartInterface() +{ +} + +ChartInterface::~ChartInterface() +{ +} + #include "koChart.moc" --- trunk/koffice/interfaces/koChart.h #796477:796478 @@ -22,7 +22,7 @@ #include #include -#include +#include "kochart_export.h" class QAbstractItemModel; @@ -79,7 +79,8 @@ class KOCHART_EXPORT ChartInterface { public: - virtual ~ChartInterface() {}; + ChartInterface(); + virtual ~ChartInterface(); virtual void setModel( QAbstractItemModel* model, bool takeOwnershipOfModel = false ) = 0;