diff -u -r abiword-2.2.5.orig/abi/src/af/gr/xp/gr_Graphics.h abiword-2.2.5/abi/src/af/gr/xp/gr_Graphics.h --- abiword-2.2.5.orig/abi/src/af/gr/xp/gr_Graphics.h 2005-01-01 01:16:58.000000000 +0100 +++ abiword-2.2.5/abi/src/af/gr/xp/gr_Graphics.h 2005-03-15 21:05:32.020613488 +0100 @@ -247,6 +247,8 @@ class GR_AllocInfo { public: + virtual ~GR_AllocInfo() {} + virtual GR_GraphicsId getType() const {UT_ASSERT_HARMLESS(UT_NOT_IMPLEMENTED); return GRID_UNKNOWN;} virtual bool isPrinterGraphics()const {UT_ASSERT_HARMLESS(UT_NOT_IMPLEMENTED); return false;} }; diff -u -r abiword-2.2.5.orig/abi/src/af/gr/xp/gr_Image.h abiword-2.2.5/abi/src/af/gr/xp/gr_Image.h --- abiword-2.2.5.orig/abi/src/af/gr/xp/gr_Image.h 2004-03-18 17:00:48.000000000 +0100 +++ abiword-2.2.5/abi/src/af/gr/xp/gr_Image.h 2005-03-15 21:05:32.040610718 +0100 @@ -79,6 +79,8 @@ class ABI_EXPORT GR_ImageFactory { public: + virtual ~GR_ImageFactory() {} + virtual GR_Image* createNewImage(const char* pszName, GR_Image::GRType iType = GR_Image::GRT_Raster) = 0; }; diff -u -r abiword-2.2.5.orig/abi/src/af/util/xp/ut_TextIterator.h abiword-2.2.5/abi/src/af/util/xp/ut_TextIterator.h --- abiword-2.2.5.orig/abi/src/af/util/xp/ut_TextIterator.h 2004-03-10 23:03:21.000000000 +0100 +++ abiword-2.2.5/abi/src/af/util/xp/ut_TextIterator.h 2005-03-15 21:05:32.063607531 +0100 @@ -104,6 +104,7 @@ class ABI_EXPORT UT_TextIterator { public: + virtual ~UT_TextIterator() {} ///////////////////////////////////////////////////////////////////////// // data accessor; retrieves character at present position diff -u -r abiword-2.2.5.orig/abi/src/af/xap/xp/xap_AppImpl.h abiword-2.2.5/abi/src/af/xap/xp/xap_AppImpl.h --- abiword-2.2.5.orig/abi/src/af/xap/xp/xap_AppImpl.h 2004-02-06 12:13:47.000000000 +0100 +++ abiword-2.2.5/abi/src/af/xap/xp/xap_AppImpl.h 2005-03-15 21:05:32.084604622 +0100 @@ -27,6 +27,8 @@ class XAP_AppImpl { public: + virtual ~XAP_AppImpl() {} + static XAP_AppImpl* static_constructor(void); /* must be implemented by the ap_AppImpl */ /* XAP_App can call impl methods. */ diff -u -r abiword-2.2.5.orig/abi/src/af/xap/xp/xav_Listener.h abiword-2.2.5/abi/src/af/xap/xp/xav_Listener.h --- abiword-2.2.5.orig/abi/src/af/xap/xp/xav_Listener.h 2004-10-05 12:25:42.000000000 +0200 +++ abiword-2.2.5/abi/src/af/xap/xp/xav_Listener.h 2005-03-15 21:05:32.104601851 +0100 @@ -94,6 +94,8 @@ class AV_Listener { public: + virtual ~AV_Listener() {} + virtual bool notify(AV_View * pView, const AV_ChangeMask mask) = 0; virtual AV_ListenerType getType(void) = 0; };