summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-25 11:06:35 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2019-04-29 11:50:50 +0200
commit01806eb7b96a79e3265e6ef8172e427226884574 (patch)
tree5aa89fd772e037a56413bd66f5888fa254c7a4f2
parentRelated: tdf#113076 vcl win DirectWrite: handle stretched text (diff)
downloadcore-01806eb7b96a79e3265e6ef8172e427226884574.tar.gz
core-01806eb7b96a79e3265e6ef8172e427226884574.zip
test unreliable under windows
Change-Id: I1f46c6043b3263ef983991ffa4aa0418006d55a7 Reviewed-on: https://gerrit.libreoffice.org/71292 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 3e898d3ce8f12c6f4b4f3a8202812fe8871e0a7f) Reviewed-on: https://gerrit.libreoffice.org/71419 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r--vcl/qa/cppunit/complextext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx
index 96332585673b..0ff5234a2ff5 100644
--- a/vcl/qa/cppunit/complextext.cxx
+++ b/vcl/qa/cppunit/complextext.cxx
@@ -92,11 +92,11 @@ void VclComplexTextTest::testArabic()
// this sporadically returns 75 or 74 on some of the windows tinderboxes eg. tb73
CPPUNIT_ASSERT_EQUAL(72L, nTextWidth);
CPPUNIT_ASSERT_EQUAL(nTextWidth, aCharWidths.back());
-#endif
// text advance width and line height
CPPUNIT_ASSERT_EQUAL(72L, pOutDev->GetTextWidth(aOneTwoThree));
CPPUNIT_ASSERT_EQUAL(14L, pOutDev->GetTextHeight());
+#endif
// exact bounding rectangle, not essentially the same as text width/height
#if defined(MACOSX) || defined(_WIN32)