From e4eb416c3ef81d098ed61caabd2077cbbb2418bc Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sun, 1 Apr 2018 14:47:13 +0900 Subject: remove swapping and link from GraphicObject and Graphic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If81127e0589b504909801bcbf392d2dec3a3efc1 Reviewed-on: https://gerrit.libreoffice.org/52244 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- sc/qa/extras/anchor.cxx | 1 - sc/qa/unit/subsequent_export-test.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'sc') diff --git a/sc/qa/extras/anchor.cxx b/sc/qa/extras/anchor.cxx index baa609a154a6..1407b784fa9e 100644 --- a/sc/qa/extras/anchor.cxx +++ b/sc/qa/extras/anchor.cxx @@ -86,7 +86,6 @@ void ScAnchorTest::testUndoAnchor() CPPUNIT_ASSERT(pObject->IsLinkedGraphic()); const GraphicObject& rGraphicObj = pObject->GetGraphicObject(true); - CPPUNIT_ASSERT(!rGraphicObj.IsSwappedOut()); CPPUNIT_ASSERT_EQUAL(int(GraphicType::Bitmap), int(rGraphicObj.GetGraphic().GetType())); CPPUNIT_ASSERT_EQUAL(sal_uLong(864900), rGraphicObj.GetSizeBytes()); diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index e011eeddbf1d..f6582cd8e7d0 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -3253,7 +3253,6 @@ void ScExportTest::testLinkedGraphicRT() CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), pObject->IsLinkedGraphic() ); const GraphicObject& rGraphicObj = pObject->GetGraphicObject(true); - CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), !rGraphicObj.IsSwappedOut()); CPPUNIT_ASSERT_EQUAL_MESSAGE( sFailedMessage.getStr(), int(GraphicType::Bitmap), int(rGraphicObj.GetGraphic().GetType())); CPPUNIT_ASSERT_EQUAL_MESSAGE( sFailedMessage.getStr(), sal_uLong(864900), rGraphicObj.GetSizeBytes()); -- cgit