summaryrefslogtreecommitdiff
path: root/include/vcl/metaact.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/metaact.hxx')
-rw-r--r--include/vcl/metaact.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 9885498c3075..18e73033b7b3 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -38,6 +38,7 @@
#include <vcl/outdevstate.hxx>
class SvStream;
+enum class DrawTextFlags;
struct ImplMetaReadData
{
@@ -546,7 +547,7 @@ private:
Rectangle maRect;
OUString maStr;
- sal_uInt16 mnStyle;
+ DrawTextFlags mnStyle;
virtual bool Compare( const MetaAction& ) const SAL_OVERRIDE;
@@ -561,14 +562,14 @@ public:
virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) SAL_OVERRIDE;
MetaTextRectAction( const Rectangle& rRect,
- const OUString& rStr, sal_uInt16 nStyle );
+ const OUString& rStr, DrawTextFlags nStyle );
virtual void Move( long nHorzMove, long nVertMove ) SAL_OVERRIDE;
virtual void Scale( double fScaleX, double fScaleY ) SAL_OVERRIDE;
const Rectangle& GetRect() const { return maRect; }
- const OUString& GetText() const { return maStr; }
- sal_uInt16 GetStyle() const { return mnStyle; }
+ const OUString& GetText() const { return maStr; }
+ DrawTextFlags GetStyle() const { return mnStyle; }
};
class VCL_DLLPUBLIC MetaTextLineAction : public MetaAction