diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-25 06:22:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:26:48 +0200 |
commit | dedfa972bc19f21e6fab7c38a64ae9543142f416 (patch) | |
tree | 9f568319c41402e901b8c7f4974203607135b6d8 /svx/source | |
parent | 8ea2bb252a8847b514546b7c49eeb7a83fcc7851 (diff) |
remove unnecessary casts in calls to SvStream.WriteInt16
left over from our conversion of the SvStream output operators
to more specific methods
Change-Id: Ie44bec6b988f3e46fe78d14b740818c9141f5df0
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 28e034b12a9a..347cbfb24234 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -2425,7 +2425,7 @@ SvStream& XFillGradientItem::Store( SvStream& rOut, sal_uInt16 nItemVersion ) co if (!IsIndex()) { - rOut.WriteInt16( (sal_Int16)aGradient.GetGradientStyle() ); + rOut.WriteInt16( aGradient.GetGradientStyle() ); sal_uInt16 nTmp; @@ -2910,7 +2910,7 @@ SvStream& XFillHatchItem::Store( SvStream& rOut, sal_uInt16 nItemVersion ) const if (!IsIndex()) { - rOut.WriteInt16( (sal_Int16)aHatch.GetHatchStyle() ); + rOut.WriteInt16( aHatch.GetHatchStyle() ); sal_uInt16 nTmp; nTmp = VCLTOSVCOL( aHatch.GetColor().GetRed() ); rOut.WriteUInt16( nTmp ); |