diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-27 15:53:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-27 17:54:44 +0200 |
commit | 91c97cbcd553a524224d3f89d6ea17d9864c85dc (patch) | |
tree | 226df7a4198c465c96e0d1a464aa6a7e2cbaac11 /xmloff | |
parent | d9438b8d007c8bb7f2cf100e37f2adf739a20501 (diff) |
cid#1464965 Logically dead code
since...
commit d6c7fbe28aca170e804c4ebe7c1101bb3345c2c2
Date: Wed May 20 14:23:51 2020 +0200
[API CHANGE] officecfg,xmloff: remove SaveBackwardCompatibleODF
Change-Id: Idbe785a2426adf3288a3ba27e065a7ddd8d9406f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97310
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 533032482b45..597a71d2b2b2 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -2356,7 +2356,6 @@ void XMLShapeExport::ImpExportGraphicObjectShape( uno::Reference<graphic::XGraphic> xGraphic; OUString sOutMimeType; - if (!bIsEmptyPresObj) { OUString aStreamURL; xPropSet->getPropertyValue("GraphicStreamURL") >>= aStreamURL; @@ -2396,13 +2395,6 @@ void XMLShapeExport::ImpExportGraphicObjectShape( mrExport.AddAttribute(XML_NAMESPACE_XLINK, XML_ACTUATE, XML_ONLOAD); } } - else - { - mrExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, OUString()); - 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); - } { if (GetExport().getSaneDefaultVersion() > SvtSaveOptions::ODFSVER_012) |