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

Justin Luth justin_luth at sil.org
Tue Oct 31 18:21:15 UTC 2017


 sw/qa/extras/ooxmlexport/ooxmlexport11.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 97ffdd33cae49f9fd039206cbcd6fc0a10bb1757
Author: Justin Luth <justin_luth at sil.org>
Date:   Tue Oct 31 13:27:01 2017 +0300

    related tdf#82065: tinderbox failed - give some unit test allowance
    
    Change-Id: I64e29a1b4a90ae3a840659c9636b921661397c1f
    Reviewed-on: https://gerrit.libreoffice.org/44108
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Justin Luth <justin_luth at sil.org>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
index bb368bccbfcc..1375a2edef89 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
@@ -59,7 +59,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf82065_Ind_start_strict, "tdf82065_Ind_start_stri
 
         if (rProp.Name == "IndentAt")
         {
-            CPPUNIT_ASSERT_EQUAL_MESSAGE("IndentAt", sal_uInt32(6001), rProp.Value.get<sal_uInt32>() );
+            CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("IndentAt", double(6001), rProp.Value.get<double>(), 10 );
             bFoundIndentAt = true;
         }
     }


More information about the Libreoffice-commits mailing list