diff options
author | Noel Grandin <noel@peralex.com> | 2021-07-01 13:42:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-01 15:46:49 +0200 |
commit | cc948b84b8550ba728b3dfbc40a9785b928910e9 (patch) | |
tree | dcbd81734b069250c0452e2349e543716e845bb6 /vcl | |
parent | d9648d1cf6c4ec7407ff30cf814be98d089345d1 (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.cxx | 2 |
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); |