diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 11:51:51 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:16 +0100 |
commit | 47f3d3702776a57294f8408bff6eee56e8c277f0 (patch) | |
tree | 4fdcf36f331d78e6b40005fc73de4c96eb58b18c /vcl | |
parent | 3425ee784ec487ccdeaa32c024a410b6633e1178 (diff) |
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/seleng.hxx | 2 | ||||
-rw-r--r-- | vcl/source/window/seleng.cxx | 4 |
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 |