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

Stephan Bergmann sbergman at redhat.com
Thu Nov 20 03:06:47 PST 2014


 sw/qa/extras/ooxmlexport/ooxmlexport.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit b1b29ae795ff86097b21907f814d94bd5488929d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Nov 20 12:06:11 2014 +0100

    ...at least, that's the value for me on Mac with retina
    
    Change-Id: I041b497bab9415b2b33d6b4b91f3c58ea9dbc05f

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 519ad65..96b0d0ee 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -484,9 +484,7 @@ DECLARE_OOXMLEXPORT_TEST(testCropPixel, "crop-pixel.docx")
         // This is 17667 in the original document, was 504666 (so the image
         // become invisible), now is around 19072.
         (void) pXmlDoc;
-#ifndef MACOSX
-        CPPUNIT_ASSERT(getXPath(pXmlDoc, "//a:srcRect", "l").toInt32() < 20000);
-#endif
+        CPPUNIT_ASSERT(getXPath(pXmlDoc, "//a:srcRect", "l").toInt32() <= 21856);
     }
 }
 


More information about the Libreoffice-commits mailing list