summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 11:51:51 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:16 +0100
commit47f3d3702776a57294f8408bff6eee56e8c277f0 (patch)
tree4fdcf36f331d78e6b40005fc73de4c96eb58b18c /vcl
parentWaE: deleting object of abstract class type with non-virtual destructor (diff)
downloadcore-47f3d3702776a57294f8408bff6eee56e8c277f0.tar.gz
core-47f3d3702776a57294f8408bff6eee56e8c277f0.zip
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/seleng.hxx2
-rw-r--r--vcl/source/window/seleng.cxx4
2 files changed, 5 insertions, 1 deletions
diff --git a/vcl/inc/vcl/seleng.hxx b/vcl/inc/vcl/seleng.hxx
index 553ed67da8a1..b4ed978736cc 100644
--- a/vcl/inc/vcl/seleng.hxx
+++ b/vcl/inc/vcl/seleng.hxx
@@ -51,6 +51,8 @@ enum SelectionMode { NO_SELECTION, SINGLE_SELECTION, RANGE_SELECTION, MULTIPLE_S
class VCL_DLLPUBLIC FunctionSet
{
public:
+ virtual ~FunctionSet() = 0;
+
virtual void BeginDrag() = 0;
virtual void CreateAnchor() = 0; // Anker-Pos := Cursor-Pos
diff --git a/vcl/source/window/seleng.cxx b/vcl/source/window/seleng.cxx
index 483b286260ec..d065b39cc7b0 100644
--- a/vcl/source/window/seleng.cxx
+++ b/vcl/source/window/seleng.cxx
@@ -31,7 +31,9 @@
#include <vcl/seleng.hxx>
#include <tools/debug.hxx>
-
+FunctionSet::~FunctionSet()
+{
+}
inline sal_Bool SelectionEngine::ShouldDeselect( sal_Bool bModifierKey1 ) const