summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 16:56:53 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:20 +0100
commitb293e58aa5e10e90081dac89826877c7d01c3adc (patch)
tree3aa7a9ce8d712f979194f587f8b68fa10740d5e3 /svtools
parent3d2253fb7ae4a9f8276160fac7b6596da4899316 (diff)
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/colrdlg.hxx1
-rw-r--r--svtools/source/dialogs/colrdlg.cxx4
2 files changed, 4 insertions, 1 deletions
diff --git a/svtools/inc/svtools/colrdlg.hxx b/svtools/inc/svtools/colrdlg.hxx
index 09336e12d134..2c395764bfbe 100644
--- a/svtools/inc/svtools/colrdlg.hxx
+++ b/svtools/inc/svtools/colrdlg.hxx
@@ -49,6 +49,7 @@ class SVT_DLLPUBLIC SvColorDialog
{
public:
SvColorDialog( ::Window* pParent );
+ virtual ~SvColorDialog();
void SetColor( const Color& rColor );
const Color& GetColor() const;
diff --git a/svtools/source/dialogs/colrdlg.cxx b/svtools/source/dialogs/colrdlg.cxx
index fed70b9f6bd7..7c553b1317d9 100644
--- a/svtools/source/dialogs/colrdlg.cxx
+++ b/svtools/source/dialogs/colrdlg.cxx
@@ -54,7 +54,9 @@ SvColorDialog::SvColorDialog( Window* pWindow )
{
}
-// -----------------------------------------------------------------------
+SvColorDialog::~SvColorDialog()
+{
+}
void SvColorDialog::SetColor( const Color& rColor )
{