diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-20 09:00:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:40 +0200 |
commit | 24724aad8e24d0ef3006934a0de3f4b3f9bcd884 (patch) | |
tree | 0e92b6b358ddbd10b12e0e7a66bb88d78ae1bccd /include/svx/svdpntv.hxx | |
parent | 2d1c78e5335dee23f2ace23c7a90b56be201cd3d (diff) |
convert GRFMGR_DRAW_ constants to scoped enum
Change-Id: Ie0b4cc1d2cfa740d0e260db52db635c3fe6b90b6
Diffstat (limited to 'include/svx/svdpntv.hxx')
-rw-r--r-- | include/svx/svdpntv.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index 2bde92fcb243..2540c44ff51f 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -53,6 +53,7 @@ class SfxStyleSheet; class SdrOle2Obj; class SdrModel; class SdrObject; +enum class GraphicManagerDrawFlags; #ifdef DBG_UTIL class SdrItemBrowser; @@ -161,7 +162,7 @@ protected: sal_uInt16 nMinMovPix; sal_uInt16 nHitTolLog; sal_uInt16 nMinMovLog; - sal_uIntPtr nGraphicManagerDrawMode; + GraphicManagerDrawFlags nGraphicManagerDrawMode; // hold an incarnation of Drawinglayer configuration options SvtOptionsDrawinglayer maDrawinglayerOpt; @@ -467,8 +468,8 @@ public: void MergeNotPersistDefaultAttr(SfxItemSet& rAttr, bool bOnlyHardAttr) const; // use this mode as mode to draw all internal GraphicManager objects with - sal_uIntPtr GetGraphicManagerDrawMode() const { return nGraphicManagerDrawMode; } - void SetGraphicManagerDrawMode( sal_uIntPtr nMode ) { nGraphicManagerDrawMode = nMode; } + GraphicManagerDrawFlags GetGraphicManagerDrawMode() const { return nGraphicManagerDrawMode; } + void SetGraphicManagerDrawMode( GraphicManagerDrawFlags nMode ) { nGraphicManagerDrawMode = nMode; } // SwapIn (z.B. von Grafiken) asynchron durchfuehren. Also nicht // beim Paint sofort nachladen, sondern dort das Nachladen anstossen. |