[Libreoffice-commits] core.git: vcl/qa

panoskorovesis (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 2 13:53:39 UTC 2021


 vcl/qa/cppunit/svm/svmtest.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 41ac0abb3b100a49490ee5df2f5a74a7a4606e56
Author:     panoskorovesis <panoskorovesis at outlook.com>
AuthorDate: Mon Aug 2 11:14:02 2021 +0300
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Aug 2 15:53:04 2021 +0200

    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 at gmail.com>

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;
 }
 


More information about the Libreoffice-commits mailing list