sw/qa/core/uwriter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4631e7ddba24bcfc92f10c3984c642ee549f8855 Author: Michael Stahl <mst...@redhat.com> Date: Wed May 10 18:05:49 2017 +0200 sw: fix build (how did that build for me?) Change-Id: I919cd38d6d63a73fd3152f5541589d0ec1a45207 diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index 7f2d5fb63540..e0ccaaeb778b 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -974,7 +974,7 @@ void SwDocTest::testGraphicAnchorDeletion() SwFormatAnchor aAnchor(RndStdIds::FLY_AS_CHAR); aAnchor.SetAnchor(aPaM.GetPoint()); aFlySet.Put(aAnchor); - SwFlyFrameFormat *pFrame = m_pDoc->getIDocumentContentOperations().Insert(aPaM, OUString(), OUString(), nullptr, &aFlySet, nullptr, nullptr); + SwFlyFrameFormat *pFrame = m_pDoc->getIDocumentContentOperations().InsertGraphic(aPaM, OUString(), OUString(), nullptr, &aFlySet, nullptr, nullptr); CPPUNIT_ASSERT_MESSAGE("Expected frame", pFrame != nullptr); CPPUNIT_ASSERT_EQUAL_MESSAGE("Should be 1 graphic", static_cast<size_t>(1), m_pDoc->GetFlyCount(FLYCNTTYPE_GRF)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits