diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-02 09:44:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-05 08:21:46 +0200 |
commit | 933c0679d64a5585ebfd233180a1a818b493eec5 (patch) | |
tree | 579f2e3683c219cfe3da7f5ebb90c24d475b570f /vcl/source/gdi/hatch.cxx | |
parent | 65ca57a447bae97714b1b32aa2df5705215a95ad (diff) |
convert HatchStyle to scoped enum
Change-Id: Ibef51ae5ae135ae584791959ec3f7bf78c50e2a8
Diffstat (limited to 'vcl/source/gdi/hatch.cxx')
-rw-r--r-- | vcl/source/gdi/hatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/hatch.cxx b/vcl/source/gdi/hatch.cxx index cc12e5df5e76..3e7975c82b7c 100644 --- a/vcl/source/gdi/hatch.cxx +++ b/vcl/source/gdi/hatch.cxx @@ -24,7 +24,7 @@ ImplHatch::ImplHatch() : maColor ( COL_BLACK ), - meStyle ( HATCH_SINGLE ), + meStyle ( HatchStyle::Single ), mnDistance ( 1 ), mnAngle ( 0 ) { @@ -114,7 +114,7 @@ SvStream& WriteHatch( SvStream& rOStm, const Hatch& rHatch ) { VersionCompat aCompat( rOStm, StreamMode::WRITE, 1 ); - rOStm.WriteUInt16( rHatch.mpImplHatch->meStyle ); + rOStm.WriteUInt16( (sal_uInt16)rHatch.mpImplHatch->meStyle ); WriteColor( rOStm, rHatch.mpImplHatch->maColor ); rOStm.WriteInt32( rHatch.mpImplHatch->mnDistance ).WriteUInt16( rHatch.mpImplHatch->mnAngle ); |