summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/metaact.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 17:56:24 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:26:48 +0200
commit5501c8d2220ee3cab703d09d348e99ba3e017dba (patch)
treece59b08fa7ad1192f3038266db1be0d64a05c0c3 /vcl/source/gdi/metaact.cxx
parentdedfa972bc19f21e6fab7c38a64ae9543142f416 (diff)
remove unnecessary casts in calls to SvStream.WriteUInt16
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
Diffstat (limited to 'vcl/source/gdi/metaact.cxx')
-rw-r--r--vcl/source/gdi/metaact.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 3715034b0a2a..faefe4b1e4ab 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2979,7 +2979,7 @@ void MetaTextAlignAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
MetaAction::Write(rOStm, pData);
VersionCompat aCompat(rOStm, STREAM_WRITE, 1);
- rOStm.WriteUInt16( (sal_uInt16) maAlign );
+ rOStm.WriteUInt16( maAlign );
}
void MetaTextAlignAction::Read( SvStream& rIStm, ImplMetaReadData* )
@@ -3216,7 +3216,7 @@ void MetaRasterOpAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
MetaAction::Write(rOStm, pData);
VersionCompat aCompat(rOStm, STREAM_WRITE, 1);
- rOStm.WriteUInt16( (sal_uInt16) meRasterOp );
+ rOStm.WriteUInt16( meRasterOp );
}
void MetaRasterOpAction::Read( SvStream& rIStm, ImplMetaReadData* )