diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-03-08 09:01:17 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-03-08 12:56:51 +0100 |
commit | dfee7d93b4e863d673c45921f79bb876b5738ea6 (patch) | |
tree | d82ed3b540f740ef2aae3cb5f58692bf56a76a1e /sw/qa/extras/htmlimport | |
parent | 8f79f22a8d4b1c2d209c55cd618c24428960088f (diff) |
sw: get rid of FN_UNO_GRAPHIC_U_R_L and "GraphicURL" property
Change-Id: I6148016658e5bb46fd4f8765a233a434174791fd
Reviewed-on: https://gerrit.libreoffice.org/50922
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/qa/extras/htmlimport')
-rw-r--r-- | sw/qa/extras/htmlimport/htmlimport.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/qa/extras/htmlimport/htmlimport.cxx b/sw/qa/extras/htmlimport/htmlimport.cxx index 079cc803b569..e01870143888 100644 --- a/sw/qa/extras/htmlimport/htmlimport.cxx +++ b/sw/qa/extras/htmlimport/htmlimport.cxx @@ -78,15 +78,11 @@ DECLARE_HTMLIMPORT_TEST(testInlinedImage, "inlined_image.html") uno::Reference<container::XNamed> const xNamed(xShape, uno::UNO_QUERY_THROW); CPPUNIT_ASSERT_EQUAL(OUString("Image1"), xNamed->getName()); - uno::Reference<graphic::XGraphic> xGraphic = - getProperty< uno::Reference<graphic::XGraphic> >(xShape, "Graphic"); + uno::Reference<graphic::XGraphic> xGraphic; + xGraphic = getProperty< uno::Reference<graphic::XGraphic> >(xShape, "Graphic"); CPPUNIT_ASSERT(xGraphic.is()); CPPUNIT_ASSERT(xGraphic->getType() != graphic::GraphicType::EMPTY); - OUString sGraphicURL = getProperty< OUString >(xShape, "GraphicURL"); - // Before it was "data:image/png;base64,<data>" - CPPUNIT_ASSERT(sGraphicURL.startsWith("vnd.sun.star.GraphicObject:")); - for (int n = 0; ; n++) { SwNode* pNode = pDoc->GetNodes()[ n ]; |