summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/hatch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/hatch.cxx')
-rw-r--r--vcl/source/gdi/hatch.cxx4
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 );