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

panoskorovesis (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 6 22:59:45 UTC 2021


 vcl/workben/fftester.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 3d1a4caf4062b906aaeab38f0b841dcacdc22c50
Author:     panoskorovesis <panoskorovesis at outlook.com>
AuthorDate: Wed Aug 4 11:38:04 2021 +0300
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sat Aug 7 00:59:08 2021 +0200

    Replace ReadGDIMetaFile with Svmreader::Read in fftester.cxx
    
    Use the new read functionality in vcl/workben/fftester.cxx
    
    Change-Id: I8ece06ba143f5ae86fae05d43e3e3b325e20ddb4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120107
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index e0696977a89c..4359452f39ac 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -46,6 +46,7 @@
 #include <vcl/event.hxx>
 #include <vcl/graphicfilter.hxx>
 #include <vcl/filter/PngImageReader.hxx>
+#include <vcl/filter/SvmReader.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/wmf.hxx>
 #include <vcl/wrkwin.hxx>
@@ -183,7 +184,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
         {
             GDIMetaFile aGDIMetaFile;
             SvFileStream aFileStream(out, StreamMode::READ);
-            ReadGDIMetaFile(aFileStream, aGDIMetaFile);
+            SvmReader aReader(aFileStream);
+            aReader.Read(aGDIMetaFile);
         }
         else if (strcmp(argv[2], "pcd") == 0)
         {


More information about the Libreoffice-commits mailing list