summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-07-01 13:42:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-01 15:46:49 +0200
commitcc948b84b8550ba728b3dfbc40a9785b928910e9 (patch)
treedcbd81734b069250c0452e2349e543716e845bb6 /vcl
parentd9648d1cf6c4ec7407ff30cf814be98d089345d1 (diff)
exclude some tests for non-default DPI
Change-Id: I579a25040f42fd930a59079f430423806544752b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118222 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/svm/svmtest.cxx2
1 files changed, 2 insertions, 0 deletions
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<VirtualDevice> pVirtualDev;
setupBaseVirtualDevice(*pVirtualDev, aGDIMetafile);