diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 10:58:22 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:15 +0100 |
commit | 3425ee784ec487ccdeaa32c024a410b6633e1178 (patch) | |
tree | ec56320ef896bbc20b65d679176ad9a55e3bc8d1 /svtools | |
parent | dbf470ade138d431f8082b1f523cedfd6ae2203b (diff) |
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/editbrowsebox.hxx | 4 | ||||
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/svtools/inc/svtools/editbrowsebox.hxx b/svtools/inc/svtools/editbrowsebox.hxx index 750ed745a902..a93463027559 100644 --- a/svtools/inc/svtools/editbrowsebox.hxx +++ b/svtools/inc/svtools/editbrowsebox.hxx @@ -132,9 +132,11 @@ namespace svt //================================================================== //= IEditImplementation //================================================================== - class IEditImplementation + class SVT_DLLPUBLIC IEditImplementation { public: + virtual ~IEditImplementation() = 0; + virtual Control& GetControl() = 0; virtual String GetText( LineEnd aSeparator ) const = 0; diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 1cce2188b353..65756c1bf996 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -72,6 +72,10 @@ namespace svt using com::sun::star::accessibility::XAccessible; //================================================================== + IEditImplementation::~IEditImplementation() + { + } + //================================================================== //= EditBrowserHeader //================================================================== |