summaryrefslogtreecommitdiff
path: root/vcl/source/filter/wmf/emfwr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 06:22:44 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:26:48 +0200
commitdedfa972bc19f21e6fab7c38a64ae9543142f416 (patch)
tree9f568319c41402e901b8c7f4974203607135b6d8 /vcl/source/filter/wmf/emfwr.cxx
parent8ea2bb252a8847b514546b7c49eeb7a83fcc7851 (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 'vcl/source/filter/wmf/emfwr.cxx')
-rw-r--r--vcl/source/filter/wmf/emfwr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx
index ade474752a08..ee0780879ab6 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -223,8 +223,8 @@ void EMFWriter::WriteEMFPlusHeader( const Size &rMtfSizePix, const Size &rMtfSiz
if (nDivY)
nDPIY /= nDivY; // DPI Y
- m_rStm.WriteInt16( (sal_Int16) EmfPlusHeader );
- m_rStm.WriteInt16( (sal_Int16) 0x01 ) // Flags - Dual Mode // TODO: Check this
+ m_rStm.WriteInt16( EmfPlusHeader );
+ m_rStm.WriteInt16( 0x01 ) // Flags - Dual Mode // TODO: Check this
.WriteInt32( (sal_Int32) 0x1C ) // Size
.WriteInt32( (sal_Int32) 0x10 ) // Data Size
.WriteInt32( (sal_Int32) 0xdbc01002 ) // (lower 12bits) 1-> v1 2-> v1.1 // TODO: Check this