diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-08-05 17:37:13 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-08-17 04:40:46 +0200 |
commit | e7b6205bcf127d8afab8dfd015fef7573b296a22 (patch) | |
tree | c73551370ada11d7e208afe550bd4a922377d889 /vcl/qa/cppunit/svm/svmtest.cxx | |
parent | dd3ab0fd737ff84657ff34eebafe2628f489e5a1 (diff) |
Replace GDIMetaFile::Write and WriteGDIMetaFile with SvmWriter::Write
Use the new write functionality. This change also sets SvmWriter::Write
second argument as const, as it's value does not change
Change-Id: I1620756542a0bc54b5f8fc7ce3f57d0243a2ee55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120408
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/qa/cppunit/svm/svmtest.cxx')
-rw-r--r-- | vcl/qa/cppunit/svm/svmtest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx index 2ffb8ff14c9b..05a3a8ce78a3 100644 --- a/vcl/qa/cppunit/svm/svmtest.cxx +++ b/vcl/qa/cppunit/svm/svmtest.cxx @@ -309,7 +309,8 @@ static void writeMetaFile(GDIMetaFile& rInputMetafile, const OUString& rUrl) { SvFileStream aFileStream(rUrl, StreamMode::WRITE); aFileStream.Seek(STREAM_SEEK_TO_BEGIN); - rInputMetafile.Write(aFileStream); + SvmWriter aWriter(aFileStream); + aWriter.Write(rInputMetafile); aFileStream.Close(); } |