Kaydet (Commit) b759504c authored tarafından Miklos Vajna's avatar Miklos Vajna

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

Change-Id: I3fc87b89c85bf800bfafccf1c379bc379ebba058
üst 8921054f
...@@ -2507,7 +2507,7 @@ DECLARE_OOXMLIMPORT_TEST(testFdo85542, "fdo85542.docx") ...@@ -2507,7 +2507,7 @@ DECLARE_OOXMLIMPORT_TEST(testFdo85542, "fdo85542.docx")
//CPPUNIT_ASSERT_EQUAL(false,true); //CPPUNIT_ASSERT_EQUAL(false,true);
uno::Reference<text::XBookmarksSupplier> xBookmarksSupplier(mxComponent, uno::UNO_QUERY); uno::Reference<text::XBookmarksSupplier> xBookmarksSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xBookmarksByIdx(xBookmarksSupplier->getBookmarks(), 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); uno::Reference<container::XNameAccess> xBookmarksByName(xBookmarksSupplier->getBookmarks(), uno::UNO_QUERY);
CPPUNIT_ASSERT(xBookmarksByName->hasByName("B1")); CPPUNIT_ASSERT(xBookmarksByName->hasByName("B1"));
CPPUNIT_ASSERT(xBookmarksByName->hasByName("B2")); CPPUNIT_ASSERT(xBookmarksByName->hasByName("B2"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment