summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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