diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-03-09 13:08:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-13 08:38:33 +0000 |
commit | 7c0e3d0b37131b12262d0f610505b3384923c4a1 (patch) | |
tree | 572046e375af0e25864ff2e155a0fa0226bd4ca7 /sw/inc/grfatr.hxx | |
parent | 25ea809f5b4548ff887aa4bb10bbf7b2fe86aedb (diff) |
convert GraphicDrawMode to scoped enum
Change-Id: I18eec89c4e1ebb86d64297e7cef4b36bf12df59f
Reviewed-on: https://gerrit.libreoffice.org/35004
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/grfatr.hxx')
-rw-r--r-- | sw/inc/grfatr.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx index 43d8c977ba01..b169ce43d7bf 100644 --- a/sw/inc/grfatr.hxx +++ b/sw/inc/grfatr.hxx @@ -23,6 +23,7 @@ #include <tools/gen.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> +#include <svtools/grfmgr.hxx> #include <svx/grfcrop.hxx> #include "swdllapi.h" #include <swatrset.hxx> @@ -260,10 +261,10 @@ public: sal_uInt8 nMemberId ) override; }; -class SW_DLLPUBLIC SwDrawModeGrf : public SfxEnumItem<sal_uInt16> +class SW_DLLPUBLIC SwDrawModeGrf : public SfxEnumItem<GraphicDrawMode> { public: - SwDrawModeGrf( sal_uInt16 nMode = 0 ) + SwDrawModeGrf( GraphicDrawMode nMode = GraphicDrawMode::Standard ) : SfxEnumItem( RES_GRFATR_DRAWMODE, nMode ) {} |