diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-08-02 11:14:02 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-08-02 15:53:04 +0200 |
commit | 41ac0abb3b100a49490ee5df2f5a74a7a4606e56 (patch) | |
tree | 92857b8994302fd785c0d4394d498ed3c8c824ab /vcl | |
parent | 86fcdf240ccdbecd051498d0b1e76a698aab5e89 (diff) |
Replace GDIMetaFile::Read with SvmReader::Read in svmtest.cxx
Use the new read functionality in svmtest.cxx
Change-Id: I86b81c56d754962e51da76690378b62e6c7e3498
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119846
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-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 84978a6e9c67..2ffb8ff14c9b 100644 --- a/vcl/qa/cppunit/svm/svmtest.cxx +++ b/vcl/qa/cppunit/svm/svmtest.cxx @@ -300,7 +300,8 @@ static GDIMetaFile readMetafile(const OUString& rUrl) GDIMetaFile aResultMetafile; SvFileStream aFileStream(rUrl, StreamMode::READ); aFileStream.Seek(STREAM_SEEK_TO_BEGIN); - aResultMetafile.Read(aFileStream); + SvmReader aReader(aFileStream); + aReader.Read(aResultMetafile); return aResultMetafile; } |