sw/qa/extras/odfexport/odfexport2.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bc72cbf2e481fe04f610f3bf799ba606d9387ffa
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Mon Feb 27 12:17:27 2023 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Mon Feb 27 14:20:16 2023 +0000

    sw: disable testTdf78510 on Mac
    
    on tb93:
    
    
/Volumes/tdf_builds/lode/jenkins/workspace/lo_gerrit/Config/macosx_clang_dbgutil/test/source/xmltesttools.cxx:165:testTdf78510::Load_Verify_Reload_Verify
    equality assertion failed
    - Expected: 2306
    - Actual  : 3110
    - In <>, attribute 'x' of '//textarray[1]' incorrect value.
    
    Change-Id: I5c01766de48da7e2367f80512aef81f5a327e870
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147883
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Reviewed-by: Armin Le Grand <armin.le.gr...@me.com>
    Tested-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/qa/extras/odfexport/odfexport2.cxx 
b/sw/qa/extras/odfexport/odfexport2.cxx
index db6c4d4240ae..3cae8e8987bd 100644
--- a/sw/qa/extras/odfexport/odfexport2.cxx
+++ b/sw/qa/extras/odfexport/odfexport2.cxx
@@ -950,7 +950,8 @@ DECLARE_ODFEXPORT_TEST(testTdf78510, "WordTest_edit.odt")
     // now check the positions where text is actually painted -
     // wonder how fragile this is...
     // FIXME some platform difference, 1st one is 2306 on Linux, 3087 on WNT ?
-#ifndef WNT
+    // some Mac has 3110
+#if !defined(WNT) && !defined(MACOSX)
     {
         SwDocShell *const 
pShell(dynamic_cast<SwXTextDocument&>(*mxComponent).GetDocShell());
         std::shared_ptr<GDIMetaFile> pMetaFile = pShell->GetPreviewMetaFile();

Reply via email to