From 4631e7ddba24bcfc92f10c3984c642ee549f8855 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 10 May 2017 18:05:49 +0200 Subject: sw: fix build (how did that build for me?) Change-Id: I919cd38d6d63a73fd3152f5541589d0ec1a45207 --- sw/qa/core/uwriter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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(1), m_pDoc->GetFlyCount(FLYCNTTYPE_GRF)); -- cgit