diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-05-15 23:50:23 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-05-15 23:50:58 +0200 |
commit | fd70beaccb8655ed962bb306ed34c6c134e3922e (patch) | |
tree | 6dd58b369f6da1ffbdb07832648299dd0f8f8821 /vcl/qa/cppunit | |
parent | fb1e8105536a5c3a2cbe291e012294da562cd9f4 (diff) |
vcl wmf test: null terminate stream
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r-- | vcl/qa/cppunit/wmf/wmfimporttest.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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()); |