[Libreoffice-commits] core.git: sc/qa

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 6 08:11:21 UTC 2021


 sc/qa/unit/scshapetest.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit d0f6c9f924fdbeed4c466e3a6eff7d6980ebc659
Author:     Noel Grandin <noel at peralex.com>
AuthorDate: Wed Jan 6 09:22:57 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Jan 6 09:10:40 2021 +0100

    exclude more tests for non-default DPI
    
    Change-Id: I411c70069273889821de96f2f2cea46d8f11da9d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108830
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx
index fc5557cdc1f8..64f3416c0264 100644
--- a/sc/qa/unit/scshapetest.cxx
+++ b/sc/qa/unit/scshapetest.cxx
@@ -337,6 +337,9 @@ void ScShapeTest::testTdf137033_RotShear_Hide()
 #if !defined MACOSX
 void ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline()
 {
+    if (!IsDefaultDPI())
+        return;
+
     // Error was, that the empty logical rectangle of a default measure line (Ctrl+Click)
     // resulted in zeros in NonRotatedAnchor and a wrong position when reloading.
 


More information about the Libreoffice-commits mailing list