summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorpanoskorovesis <panoskorovesis@outlook.com>2021-08-04 11:38:04 +0300
committerTomaž Vajngerl <quikee@gmail.com>2021-08-07 00:59:08 +0200
commit3d1a4caf4062b906aaeab38f0b841dcacdc22c50 (patch)
tree80db953ab4fbd36b00da0b3c68e5c8625fc80aa1 /vcl/workben
parentad982bc87f96c31af6fa3e81d33af29b991199ce (diff)
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@gmail.com>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/fftester.cxx4
1 files changed, 3 insertions, 1 deletions
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)
{