From fd70beaccb8655ed962bb306ed34c6c134e3922e Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Thu, 15 May 2014 23:50:23 +0200 Subject: vcl wmf test: null terminate stream Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4 --- vcl/qa/cppunit/wmf/wmfimporttest.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/qa/cppunit') diff --git a/vcl/qa/cppunit/wmf/wmfimporttest.cxx b/vcl/qa/cppunit/wmf/wmfimporttest.cxx index d4db9555393a..12d1942bcbe8 100644 --- a/vcl/qa/cppunit/wmf/wmfimporttest.cxx +++ b/vcl/qa/cppunit/wmf/wmfimporttest.cxx @@ -54,6 +54,7 @@ void WmfTest::testNonPlaceableWmf() dumper.filterActionType(META_POLYLINE_ACTION, false); dumper.dump(aGDIMetaFile); + aStream->WriteChar(0); aStream->Seek(STREAM_SEEK_TO_BEGIN); xmlDocPtr pDoc = parseXmlStream(aStream.get()); -- cgit