summaryrefslogtreecommitdiffstats
path: root/cui/source/inc/zoom.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-28 14:09:59 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:40 +0200
commit5d96ccd0ab9d315aea85b4630f85feb29d2aa14a (patch)
tree34e124d8ba35b503e4091d646e672223b44a773a /cui/source/inc/zoom.hxx
parentconvert CT_ constants to scoped enum (diff)
downloadcore-5d96ccd0ab9d315aea85b4630f85feb29d2aa14a.tar.gz
core-5d96ccd0ab9d315aea85b4630f85feb29d2aa14a.zip
convert ZOOMBTN constants to scoped enum
Change-Id: Ia7641f736fa4f84dce0b5ea8bf68339c1309e74b
Diffstat (limited to 'cui/source/inc/zoom.hxx')
-rw-r--r--cui/source/inc/zoom.hxx5
1 files changed, 3 insertions, 2 deletions
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 <sfx2/basedlgs.hxx>
+#include <svx/zoom_def.hxx>
#include <vcl/button.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
@@ -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);
};