From 41ac0abb3b100a49490ee5df2f5a74a7a4606e56 Mon Sep 17 00:00:00 2001 From: panoskorovesis Date: Mon, 2 Aug 2021 11:14:02 +0300 Subject: Replace GDIMetaFile::Read with SvmReader::Read in svmtest.cxx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- vcl/qa/cppunit/svm/svmtest.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl') 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; } -- cgit