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 /include/vcl/metaact.hxx | |
parent | 46bf3068de40192e0b69ef5f6ab3b2f43c71ef71 (diff) |
vcl: convert push flags to type-safe enum-like class
Change-Id: Ib49a0dd5ecee0225f51bea2ff1c0ab5326595a47
Diffstat (limited to 'include/vcl/metaact.hxx')
-rw-r--r-- | include/vcl/metaact.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 572a0a2f3be4..1f0fd7964dbf 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -1350,7 +1350,7 @@ class VCL_DLLPUBLIC MetaPushAction : public MetaAction { private: - sal_uInt16 mnFlags; + PushFlags mnFlags; virtual bool Compare( const MetaAction& ) const SAL_OVERRIDE; @@ -1364,9 +1364,9 @@ public: virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) SAL_OVERRIDE; virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) SAL_OVERRIDE; - explicit MetaPushAction( sal_uInt16 nFlags ); + explicit MetaPushAction( PushFlags nFlags ); - sal_uInt16 GetFlags() const { return mnFlags; } + PushFlags GetFlags() const { return mnFlags; } }; class VCL_DLLPUBLIC MetaPopAction : public MetaAction |