summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 12:06:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 14:18:23 +0200
commita910081e0634120118d6f32996591928677d504f (patch)
tree186345c33254ca7b7a55e0ec664070acb69970bf /sw/source/uibase/inc
parent2be4afe53a94fc051aae9ba9b20443f7a350fb18 (diff)
convert SwFillMode to scoped enum
Change-Id: I03230496aac57f8855ce8d3dcd8576d265060aa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92845 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/cfgitems.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx
index fab7cd59e66e..bf50b8f105f0 100644
--- a/sw/source/uibase/inc/cfgitems.hxx
+++ b/sw/source/uibase/inc/cfgitems.hxx
@@ -35,6 +35,7 @@ class SwViewShell;
class SwViewOption;
class SwContentOptPage;
class SwShdwCursorOptionsTabPage;
+enum class SwFillMode;
// OS 12.01.95
// Item for settings dialog - document view
@@ -111,7 +112,7 @@ public:
// Item for settings dialog, ShadowCursorPage
class SW_DLLPUBLIC SwShadowCursorItem : public SfxPoolItem
{
- sal_uInt8 eMode;
+ SwFillMode eMode;
bool bOn;
public:
SwShadowCursorItem();
@@ -122,10 +123,10 @@ public:
void FillViewOptions( SwViewOption& rVOpt) const;
- sal_uInt8 GetMode() const { return eMode; }
+ SwFillMode GetMode() const { return eMode; }
bool IsOn() const { return bOn; }
- void SetMode( sal_uInt8 eM ) { eMode = eM; }
+ void SetMode( SwFillMode eM ) { eMode = eM; }
void SetOn( bool bFlag ) { bOn = bFlag; }
};