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 /vcl/source/gdi/pdfwriter_impl.hxx | |
parent | 46bf3068de40192e0b69ef5f6ab3b2f43c71ef71 (diff) |
vcl: convert push flags to type-safe enum-like class
Change-Id: Ib49a0dd5ecee0225f51bea2ff1c0ab5326595a47
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.hxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index ed4013befcd8..201528131b1c 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -713,7 +713,7 @@ private: ComplexTextLayoutMode m_nLayoutMode; LanguageType m_aDigitLanguage; sal_Int32 m_nTransparentPercent; - sal_uInt16 m_nFlags; + PushFlags m_nFlags; sal_uInt16 m_nUpdateFlags; static const sal_uInt16 updateFont = 0x0001; @@ -738,7 +738,7 @@ private: m_nLayoutMode( TEXT_LAYOUT_DEFAULT ), m_aDigitLanguage( 0 ), m_nTransparentPercent( 0 ), - m_nFlags( 0xffff ), + m_nFlags( PUSH_ALL ), m_nUpdateFlags( 0xffff ) {} GraphicsState( const GraphicsState& rState ) : @@ -1104,7 +1104,7 @@ public: { m_aContext.DocumentLocale = rLoc; } /* graphics state */ - void push( sal_uInt16 nFlags ); + void push( PushFlags nFlags ); void pop(); void setFont( const Font& rFont ); |