diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-05-10 18:05:49 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-05-10 18:05:49 +0200 |
commit | 4631e7ddba24bcfc92f10c3984c642ee549f8855 (patch) | |
tree | 361023c11d6722658040d827de2e58b493c82645 /sw/qa | |
parent | 771d85baf18e5b503eb6248e1f41928b00265d8d (diff) |
sw: fix build (how did that build for me?)
Change-Id: I919cd38d6d63a73fd3152f5541589d0ec1a45207
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |