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;