summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-27 15:55:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-27 20:22:11 +0200
commit2a87fbc2f645e8d607c235147d7a00293cdabafc (patch)
tree6d602ee0e7e93b4feb4fa4679df033e89806495c
parenta211032bf9893daeee6ce7acb89f1190258a2067 (diff)
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 <caolanm@redhat.com>
-rw-r--r--xmloff/source/draw/shapeexport.cxx9
1 files changed, 0 insertions, 9 deletions
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 );