From 00677707d3f7b3775d267f11474a04430c2d2c3e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 26 Oct 2011 15:08:42 +0300 Subject: [PATCH] WaE: class has virtual functions, but destructor is not virtual --- sd/source/ui/slidesorter/view/SlsButtonBar.cxx | 3 +++ 1 file changed, 3 insertions(+) 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& rpTheme, const ::std::vector& 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& rpTheme, const ::std::vector& rButtons); + virtual ~RectangleBackgroundTheme() { } virtual BitmapEx CreateBackground ( const OutputDevice& rTemplateDevice, const bool bIsButtonDown) const; @@ -127,6 +129,7 @@ namespace { BitmapBackgroundTheme( const ::boost::shared_ptr& rpTheme, const ::std::vector& rButtons); + virtual ~BitmapBackgroundTheme() { } virtual BitmapEx CreateBackground ( const OutputDevice& rTemplateDevice, const bool bIsButtonDown) const;