From cc948b84b8550ba728b3dfbc40a9785b928910e9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 1 Jul 2021 13:42:31 +0200 Subject: exclude some tests for non-default DPI Change-Id: I579a25040f42fd930a59079f430423806544752b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118222 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- vcl/qa/cppunit/svm/svmtest.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl') diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx index 953f97d0b8b6..0f2523ea3c46 100644 --- a/vcl/qa/cppunit/svm/svmtest.cxx +++ b/vcl/qa/cppunit/svm/svmtest.cxx @@ -1870,6 +1870,8 @@ void SvmTest::checkMapMode(const GDIMetaFile& rMetafile) void SvmTest::testMapMode() { + if (!IsDefaultDPI()) + return; GDIMetaFile aGDIMetafile; ScopedVclPtrInstance pVirtualDev; setupBaseVirtualDevice(*pVirtualDev, aGDIMetafile); -- cgit