summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-26 23:10:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-27 08:00:33 +0200
commitb71b5c85f1a9ebd30fb23e3ea0fc6db235586da3 (patch)
treebe5c3c2a78d8c9624fbae2d7e0fa62e2faaab3aa /xmloff
parent336d9a01d779510752af7ea84aba7cb95e1cb4b8 (diff)
Clean up sEmptyURL
Change-Id: I63e2f5055a87593708f672341b5849554b4db6fb
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 7ed11ef9df45..51d2c952e5f7 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2826,9 +2826,7 @@ void XMLShapeExport::ImpExportOLE2Shape(
else
{
// export empty href for empty placeholders to be valid ODF
- OUString sEmptyURL;
-
- mrExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, sEmptyURL );
+ 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 );