diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-25 05:27:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:25:40 +0200 |
commit | d46b16e1e495c153f70633d2da5c2bb0aba85cc9 (patch) | |
tree | 79134004da6c8e06ef5d1a007c4d35340c463794 /vcl/source/gdi/hatch.cxx | |
parent | 8f684e21de081350f0ce1f0bd0420f4775c5388d (diff) |
remove unnecessary casts's
left over from our conversion of the SvStream output operators
to more specific methods
Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
Diffstat (limited to 'vcl/source/gdi/hatch.cxx')
-rw-r--r-- | vcl/source/gdi/hatch.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/hatch.cxx b/vcl/source/gdi/hatch.cxx index c1d0551accf9..c2db96d839c5 100644 --- a/vcl/source/gdi/hatch.cxx +++ b/vcl/source/gdi/hatch.cxx @@ -138,8 +138,7 @@ SvStream& WriteImplHatch( SvStream& rOStm, const ImplHatch& rImplHatch ) rOStm.WriteUInt16( (sal_uInt16) rImplHatch.meStyle ); WriteColor( rOStm, rImplHatch.maColor ); - //#fdo39428 SvStream no longer supports operator<<(long) - rOStm.WriteInt32( sal::static_int_cast<sal_Int32>(rImplHatch.mnDistance) ).WriteUInt16( rImplHatch.mnAngle ); + rOStm.WriteInt32( rImplHatch.mnDistance ).WriteUInt16( rImplHatch.mnAngle ); return rOStm; } |