xmloff/source/draw/shapeexport.cxx | 9 --------- 1 file changed, 9 deletions(-)
New commits: commit 2a87fbc2f645e8d607c235147d7a00293cdabafc Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Jun 27 15:55:23 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jun 27 20:22:11 2020 +0200 cid#1464966 Logically dead code since... commit d6c7fbe28aca170e804c4ebe7c1101bb3345c2c2 Date: Wed May 20 14:23:51 2020 +0200 [API CHANGE] officecfg,xmloff: remove SaveBackwardCompatibleODF Change-Id: I05db7083262d02aa051372773fc6ef60c1549b8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97311 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 597a71d2b2b2..418bb7662513 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -2867,7 +2867,6 @@ void XMLShapeExport::ImpExportOLE2Shape( bool bInternal = false; xPropSet->getPropertyValue("IsInternal") >>= bInternal; - if( !bIsEmptyPresObj ) { if ( bInternal ) @@ -2909,14 +2908,6 @@ void XMLShapeExport::ImpExportOLE2Shape( } } } - else - { - // export empty href for empty placeholders to be valid ODF - mrExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, "" ); - mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE ); - mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_SHOW, XML_EMBED ); - mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_ACTUATE, XML_ONLOAD ); - } enum XMLTokenEnum eElem = sClassId.isEmpty() ? XML_OBJECT : XML_OBJECT_OLE ; SvXMLElementExport aElem( mrExport, XML_NAMESPACE_DRAW, eElem, true, true ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits