sw: no matching function for call to assertEquals(sal_Int32, int, ...)

Change-Id: I3fc87b89c85bf800bfafccf1c379bc379ebba058
This commit is contained in:
Miklos Vajna
2014-11-18 09:54:26 +01:00
parent 8921054fe8
commit b759504c9f

View File

@@ -2507,7 +2507,7 @@ DECLARE_OOXMLIMPORT_TEST(testFdo85542, "fdo85542.docx")
//CPPUNIT_ASSERT_EQUAL(false,true);
uno::Reference<text::XBookmarksSupplier> xBookmarksSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xBookmarksByIdx(xBookmarksSupplier->getBookmarks(), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(xBookmarksByIdx->getCount(), 3);
CPPUNIT_ASSERT_EQUAL(xBookmarksByIdx->getCount(), static_cast<sal_Int32>(3));
uno::Reference<container::XNameAccess> xBookmarksByName(xBookmarksSupplier->getBookmarks(), uno::UNO_QUERY);
CPPUNIT_ASSERT(xBookmarksByName->hasByName("B1"));
CPPUNIT_ASSERT(xBookmarksByName->hasByName("B2"));