[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Eike Rathke
erack at redhat.com
Tue Jul 22 07:29:28 PDT 2014
sc/source/filter/xml/xmlexprt.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 23e54b541892c0343e012b51c5722f8e3edc02ef
Author: Eike Rathke <erack at redhat.com>
Date: Mon Jul 21 19:10:12 2014 +0200
use SvXMLExport::GetRelativeReference(), fdo#79305
Change-Id: I1e92a87034cf31470a9d8809f3b543b154c65126
Reviewed-on: https://gerrit.libreoffice.org/10445
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 058e719..2e73236 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -3080,7 +3080,7 @@ void writeContent(
// <text:a xlink:href="url" xlink:type="simple">value</text:a>
OUString aURL = static_cast<const SvxURLField*>(pField)->GetURL();
- rExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, aURL);
+ rExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, rExport.GetRelativeReference(aURL));
rExport.AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, "simple");
OUString aElemName = rExport.GetNamespaceMap().GetQNameByKey(
More information about the Libreoffice-commits
mailing list