summaryrefslogtreecommitdiff
path: root/svx/inc/GalleryControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/GalleryControl.hxx')
-rw-r--r--svx/inc/GalleryControl.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/inc/GalleryControl.hxx b/svx/inc/GalleryControl.hxx
index f85af689ce4a..a807b05dbea8 100644
--- a/svx/inc/GalleryControl.hxx
+++ b/svx/inc/GalleryControl.hxx
@@ -43,15 +43,14 @@ public:
GalleryControl (
SfxBindings* pBindings,
vcl::Window* pParentWindow);
- virtual ~GalleryControl();
bool GalleryKeyInput( const KeyEvent& rKEvt, vcl::Window* pWindow);
private:
Gallery* mpGallery;
- ::boost::scoped_ptr<GallerySplitter> mpSplitter;
- ::boost::scoped_ptr<GalleryBrowser1> mpBrowser1;
- ::boost::scoped_ptr<GalleryBrowser2> mpBrowser2;
+ VclPtr<GallerySplitter> mpSplitter;
+ VclPtr<GalleryBrowser1> mpBrowser1;
+ VclPtr<GalleryBrowser2> mpBrowser2;
Size maLastSize;
bool mbIsInitialResize;
@@ -64,6 +63,8 @@ private:
protected:
void ThemeSelectionHasChanged();
+ virtual ~GalleryControl();
+ virtual void dispose() SAL_OVERRIDE;
};
} } // end of namespace svx::sidebar