summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/zoomctrl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/zoomctrl.hxx')
-rw-r--r--sw/source/uibase/inc/zoomctrl.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/zoomctrl.hxx b/sw/source/uibase/inc/zoomctrl.hxx
index 02d89b0dc5bb..b5af8ba9a563 100644
--- a/sw/source/uibase/inc/zoomctrl.hxx
+++ b/sw/source/uibase/inc/zoomctrl.hxx
@@ -21,15 +21,15 @@
#include <svx/zoomctrl.hxx>
-class SwZoomControl : public SvxZoomStatusBarControl
+class SwZoomControl final : public SvxZoomStatusBarControl
{
private:
- OUString sPreviewZoom;
+ OUString m_sPreviewZoom;
public:
virtual void Command(const CommandEvent& rCEvt) override;
- virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState,
- const SfxPoolItem* pState) override;
+ virtual void StateChangedAtStatusBarControl(sal_uInt16 nSID, SfxItemState eState,
+ const SfxPoolItem* pState) override;
virtual void Paint(const UserDrawEvent& rEvt) override;
SFX_DECL_STATUSBAR_CONTROL();