SVN commit 796305 by jsimon: * Make the koChart class a pure virtual interface: * move implementation of koChart interface deconstructor to header * remove constructor M +0 -8 koChart.cc M +1 -2 koChart.h --- trunk/koffice/interfaces/koChart.cc #796304:796305 @@ -55,12 +55,4 @@ return 0; } -ChartInterface::ChartInterface() -{ -} - -ChartInterface::~ChartInterface() -{ -} - #include "koChart.moc" --- trunk/koffice/interfaces/koChart.h #796304:796305 @@ -79,8 +79,7 @@ class KOCHART_EXPORT ChartInterface { public: - ChartInterface(); - virtual ~ChartInterface(); + virtual ~ChartInterface() {}; virtual void setModel( QAbstractItemModel* model, bool takeOwnershipOfModel = false ) = 0;