diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-21 07:31:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-21 09:17:32 +0200 |
commit | a69f8ea61ce274a5839f1904d1eba9ea91ce6676 (patch) | |
tree | eb7693e3cca148c3013220bcbc4c3b322b0f8123 /cppcanvas/source/inc | |
parent | 46bf3068de40192e0b69ef5f6ab3b2f43c71ef71 (diff) |
vcl: convert push flags to type-safe enum-like class
Change-Id: Ib49a0dd5ecee0225f51bea2ff1c0ab5326595a47
Diffstat (limited to 'cppcanvas/source/inc')
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 2 | ||||
-rw-r--r-- | cppcanvas/source/inc/outdevstate.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 7ff185efe19b..deb37655e59a 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -68,7 +68,7 @@ namespace cppcanvas public: OutDevState& getState(); const OutDevState& getState() const; - void pushState(sal_uInt16 nFlags); + void pushState(PushFlags nFlags); void popState(); void clearStateStack(); private: diff --git a/cppcanvas/source/inc/outdevstate.hxx b/cppcanvas/source/inc/outdevstate.hxx index d1e8c1f837e9..15d33ecd9969 100644 --- a/cppcanvas/source/inc/outdevstate.hxx +++ b/cppcanvas/source/inc/outdevstate.hxx @@ -100,7 +100,7 @@ namespace cppcanvas double fontRotation; sal_uInt16 textEmphasisMarkStyle; - sal_uInt16 pushFlags; + PushFlags pushFlags; sal_Int8 textDirection; sal_Int8 textAlignment; sal_Int8 textReliefStyle; |