summaryrefslogtreecommitdiff
path: root/vcl/source/filter/wmf/emfwr.cxx
diff options
context:
space:
mode:
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 98a1f957b2a7..8c352fa37f49 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -872,7 +872,7 @@ void EMFWriter::ImplWriteBmpRecord( const Bitmap& rBmp, const Point& rPt,
sal_uInt32 nPalSize = nPalCount * 4;
- m_rStm.Write( aMemStm.GetData(), nDIBSize );
+ m_rStm.WriteBytes( aMemStm.GetData(), nDIBSize );
const sal_uLong nEndPos = m_rStm.Tell();
m_rStm.Seek( nOffPos );
@@ -1504,7 +1504,7 @@ void EMFWriter::ImplWrite( const GDIMetaFile& rMtf )
if (pCommentAction->GetComment() == "EMF_PLUS")
{
ImplBeginCommentRecord(WIN_EMR_COMMENT_EMFPLUS);
- m_rStm.Write(pCommentAction->GetData(),
+ m_rStm.WriteBytes(pCommentAction->GetData(),
pCommentAction->GetDataSize());
ImplEndCommentRecord();
}