summaryrefslogtreecommitdiff
path: root/sw/qa/extras/layout/layout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/extras/layout/layout.cxx')
-rw-r--r--sw/qa/extras/layout/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 1c8ca7aa6385..bd720372dfb1 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -2805,7 +2805,7 @@ void SwLayoutWriter::testBtlrCell()
// doc model).
assertXPath(pXmlDoc, "//font[1]", "orientation", "900");
-#ifndef MACOSX // macOS fails with actual == 2662 for some reason.
+#if !defined(MACOSX) && !defined(_WIN32) // macOS fails with actual == 2662 for some reason.
// Without the accompanying fix in place, this test would have failed with 'Expected: 1915;
// Actual : 1756', i.e. the AAA text was too close to the left cell border due to an ascent vs
// descent mismatch when calculating the baseline offset of the text portion.