summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/zoomsliderctrl.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svx/zoomsliderctrl.hxx b/include/svx/zoomsliderctrl.hxx
index a15121782c2c..7af69db82c7c 100644
--- a/include/svx/zoomsliderctrl.hxx
+++ b/include/svx/zoomsliderctrl.hxx
@@ -22,6 +22,7 @@
#include <sfx2/stbitem.hxx>
#include <svx/svxdllapi.h>
+#include <boost/scoped_ptr.hpp>
// class SvxZoomSliderControl ----------------------------------------
@@ -30,11 +31,14 @@ class SVX_DLLPUBLIC SvxZoomSliderControl : public SfxStatusBarControl
private:
struct SvxZoomSliderControl_Impl;
- SvxZoomSliderControl_Impl* mpImpl;
+ boost::scoped_ptr<SvxZoomSliderControl_Impl> mpImpl;
sal_uInt16 Offset2Zoom( long nOffset ) const;
long Zoom2Offset( sal_uInt16 nZoom ) const;
+ void repaintAndExecute();
+ void forceRepaint() const;
+
public:
SFX_DECL_STATUSBAR_CONTROL();