diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-17 20:20:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-17 20:20:18 +0200 |
commit | a900c72c675c8605fc004a4f63ba1d82eaeed9d5 (patch) | |
tree | ff59b50e226f4dc7d1da93edcf499b7c27db4e06 /sw/qa | |
parent | ce0e70fdd643b88b70cbcfa55847f0285116273a (diff) |
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
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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") |