sw/qa/extras/ooxmlexport/ooxmlexport3.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit a900c72c675c8605fc004a4f63ba1d82eaeed9d5
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Apr 17 20:20:18 2017 +0200

    Make the testTdf106974_int32Crop pass on my Mac, too
    
    cf. 1391f3702a3daaefc67a8ee4b62ac38959db283f "Make the 
testTdf106974_int32Crop
    pass on my Mac".  For some reason, on my Mac the Right value is 40474 resp.
    40471 the two times the function gets called.
    
    Change-Id: I731ff9c5cf76be9d4817ad14f296807017d10dbd

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index 85ef3c242685..ea7135058c53 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -638,7 +638,9 @@ DECLARE_OOXMLEXPORT_TEST(testTdf106974_int32Crop, 
"tdf106974_int32Crop.docx")
 
     imageProperties->getPropertyValue( "GraphicCrop" ) >>= aGraphicCropStruct;
 
-    CPPUNIT_ASSERT( sal_Int32( 41000 ) < aGraphicCropStruct.Right );
+    CPPUNIT_ASSERT_MESSAGE(
+        OString::number(aGraphicCropStruct.Right).getStr(),
+        sal_Int32( 40470 ) < aGraphicCropStruct.Right );
 }
 
 DECLARE_OOXMLEXPORT_TEST(testLineSpacingexport, "test_line_spacing.docx")
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to