[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/qa

Matúš Kukan matus.kukan at collabora.com
Fri Jul 4 13:05:40 PDT 2014


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

New commits:
commit 63e4cd95be982da3b85883cde067b5e06c6e5efb
Author: Matúš Kukan <matus.kukan at collabora.com>
Date:   Wed Jun 25 09:45:07 2014 +0200

    error: no matching function for call to 'assertEquals'
    
    Change-Id: I0b87c2abeec30e9e4eab3ce488a5828b8a5b475d
    (cherry picked from commit 4a3b0e544dbc45a3972006a2ead75492d6876f95)
    Signed-off-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx
index db1ca82..09467cd 100644
--- a/sw/qa/extras/ww8import/ww8import.cxx
+++ b/sw/qa/extras/ww8import/ww8import.cxx
@@ -275,7 +275,7 @@ DECLARE_WW8IMPORT_TEST(testBnc875715, "bnc875715.doc")
     uno::Reference<text::XTextSectionsSupplier> xTextSectionsSupplier(mxComponent, uno::UNO_QUERY);
     uno::Reference<container::XIndexAccess> xSections(xTextSectionsSupplier->getTextSections(), uno::UNO_QUERY);
     // Was incorrectly set as -1270.
-    CPPUNIT_ASSERT_EQUAL(0, getProperty<sal_Int32>(xSections->getByIndex(0), "SectionLeftMargin"));
+    CPPUNIT_ASSERT_EQUAL(sal_Int32(0), getProperty<sal_Int32>(xSections->getByIndex(0), "SectionLeftMargin"));
 }
 
 #endif


More information about the Libreoffice-commits mailing list