summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-05 10:23:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-05 14:51:17 +0100
commit2fbf7dadf6255b7072c5a8bb7c6c071a22b726ea (patch)
treef23f8ac8472037d5cb450f78e810e5818c3eccf3 /vcl/workben
parentc53570e524cff058d893ea950ce1e538ba925b5e (diff)
add svm playback to local testing
Change-Id: Ie69f628ee3f37b5cdab206c0c1c201a94841bf03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131053 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/fftester.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index 3c6645dbb89f..7938f0011b38 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -48,6 +48,7 @@
#include <vcl/filter/PngImageReader.hxx>
#include <vcl/filter/SvmReader.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/virdev.hxx>
#include <vcl/wmf.hxx>
#include <vcl/wrkwin.hxx>
#include <fltcall.hxx>
@@ -187,6 +188,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
SvFileStream aFileStream(out, StreamMode::READ);
SvmReader aReader(aFileStream);
aReader.Read(aGDIMetaFile);
+ ScopedVclPtrInstance<VirtualDevice> aVDev;
+ aGDIMetaFile.Play(*aVDev);
}
else if (strcmp(argv[2], "pcd") == 0)
{