sw/qa/extras/layout/layout2.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 6ba14f83add039d0df133febfcf7199c99f8d936 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue May 3 07:24:44 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue May 3 08:40:31 2022 +0200 Revert "enable test for all platforms" This reverts commit b294a94861289c322a26edb6b83f0d329575639d, which keeps failing frequently for Gerrit Jenkins Windows builds now, e.g., <https://ci.libreoffice.org/job/gerrit_windows/125864/> C:/cygwin/home/tdf/jenkins/workspace/gerrit_windows@2/sw/qa/extras/layout/layout2.cxx:1950:testTdf124261::TestBody equality assertion failed - Expected: 1721 - Actual : 3472 Change-Id: I681274df98f2246312539ba5d0dfcde7e7ba4826 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133718 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sw/qa/extras/layout/layout2.cxx b/sw/qa/extras/layout/layout2.cxx index 7453dac90b0e..f88fbdc94f71 100644 --- a/sw/qa/extras/layout/layout2.cxx +++ b/sw/qa/extras/layout/layout2.cxx @@ -1920,6 +1920,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testUserFieldTypeLanguage) CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf124261) { +#if !defined(_WIN32) // Make sure that pressing a key in a btlr cell frame causes an immediate, correct repaint. SwDoc* pDoc = createSwDoc(DATA_DIRECTORY, "tdf124261.docx"); SwRootFrame* pLayout = pDoc->getIDocumentLayoutAccess().GetCurrentLayout(); @@ -1948,6 +1949,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf124261) SwTextFrame* pTextFrame = static_cast<SwTextFrame*>(pFrame); SwRect aRect = pTextFrame->GetPaintSwRect(); CPPUNIT_ASSERT_EQUAL(pTextFrame->getFrameArea().Top(), aRect.Top()); +#endif } CPPUNIT_PLUGIN_IMPLEMENT();