summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-15 23:50:23 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-15 23:50:58 +0200
commitfd70beaccb8655ed962bb306ed34c6c134e3922e (patch)
tree6dd58b369f6da1ffbdb07832648299dd0f8f8821 /vcl/qa
parentfb1e8105536a5c3a2cbe291e012294da562cd9f4 (diff)
vcl wmf test: null terminate stream
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/wmf/wmfimporttest.cxx1
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());