summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2020-12-04 09:25:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-04 09:34:47 +0100
commit5eeb1af1ca22129a7ee630de4d2a596d372b26bc (patch)
tree832d0e7bd79c11fb1503689d9cb536847c794414 /sc
parent986952dd52861563006d0ba178e8bdd44247af81 (diff)
exclude some more tests for !IsDefaultDPI
Change-Id: Ic0eab5c2a78b3bd40caf0521ca8fb6e5cdebff51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107186 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/subsequent_export-test.cxx2
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index e46d356d677b..e2f783c30bfc 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -5405,6 +5405,8 @@ void ScExportTest::testHeaderFontStyleXLSX()
void ScExportTest::testTdf135828_Shape_Rect()
{
+ if (!IsDefaultDPI())
+ return;
// tdf#135828 Check that the width and the height of rectangle of the shape
// is correct.
ScDocShellRef xShell = loadDoc("tdf135828_Shape_Rect.", FORMAT_XLSX);
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index a00e756bcbc8..593c12c3e27a 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -4997,6 +4997,8 @@ void ScFiltersTest::testPreviewMissingObjLink()
void ScFiltersTest::testShapeRotationImport()
{
+ if (!IsDefaultDPI())
+ return;
// tdf#83593 Incorrectly calculated bounding rectangles caused shapes to appear as if there
// were extra or missing rotations. Hence, we check the sizes of these rectangles.
ScDocShellRef xDocSh = loadDoc("testShapeRotationImport.", FORMAT_XLSX);