summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-26 15:08:42 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-26 15:26:12 +0300
commit00677707d3f7b3775d267f11474a04430c2d2c3e (patch)
tree5346c7e6cbd2f6026e3bb4168ed717e8a76cb5ea /sd
parent69746a5e96a17875adc9854506148f38ba6d0d4f (diff)
WaE: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/view/SlsButtonBar.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
index a60fd918edeb..8977032509dc 100644
--- a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
+++ b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
@@ -70,6 +70,7 @@ public:
BackgroundTheme(
const ::boost::shared_ptr<Theme>& rpTheme,
const ::std::vector<SharedButton>& rButtons);
+ virtual ~BackgroundTheme() { }
/** Set the preview bounding box, the maximal area in which to display
buttons. A call to this method triggers a call to Layout().
*/
@@ -106,6 +107,7 @@ namespace {
RectangleBackgroundTheme(
const ::boost::shared_ptr<Theme>& rpTheme,
const ::std::vector<SharedButton>& rButtons);
+ virtual ~RectangleBackgroundTheme() { }
virtual BitmapEx CreateBackground (
const OutputDevice& rTemplateDevice,
const bool bIsButtonDown) const;
@@ -127,6 +129,7 @@ namespace {
BitmapBackgroundTheme(
const ::boost::shared_ptr<Theme>& rpTheme,
const ::std::vector<SharedButton>& rButtons);
+ virtual ~BitmapBackgroundTheme() { }
virtual BitmapEx CreateBackground (
const OutputDevice& rTemplateDevice,
const bool bIsButtonDown) const;