From 5d96ccd0ab9d315aea85b4630f85feb29d2aa14a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Apr 2015 14:09:59 +0200 Subject: convert ZOOMBTN constants to scoped enum Change-Id: Ia7641f736fa4f84dce0b5ea8bf68339c1309e74b --- cui/source/inc/zoom.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cui/source/inc/zoom.hxx') diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx index 882be467f95d..55bb1dc2adc9 100644 --- a/cui/source/inc/zoom.hxx +++ b/cui/source/inc/zoom.hxx @@ -20,6 +20,7 @@ #define INCLUDED_CUI_SOURCE_INC_ZOOM_HXX #include +#include #include #include #include @@ -62,9 +63,9 @@ public: const SfxItemSet* GetOutputItemSet() const; sal_uInt16 GetFactor() const; - void SetFactor(sal_uInt16 nNewFactor, sal_uInt16 nButtonId = 0); + void SetFactor(sal_uInt16 nNewFactor, ZoomButtonId nButtonId = ZoomButtonId::NONE); - void HideButton(sal_uInt16 nButtonId); + void HideButton(ZoomButtonId nButtonId); void SetLimits(sal_uInt16 nMin, sal_uInt16 nMax); }; -- cgit