summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-07-06 17:33:28 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-07-06 21:25:39 +0200
commit510209df4bcf457cac819e75889d564d620f119d (patch)
treeec6aa5d7d07b1036a6c06affefe75d37e9593030 /xmloff
parent3a27688e0b54e124ab533b9670da76ef9dc455d2 (diff)
tdf#117261 xmloff: ODF import: convert form:connection-resource URL
... to absolute on import. (regression from fbb3b60cdb7a22595eec80232bb3ccd83781cf00) Change-Id: I2cd046e44489da86d3d67ff5df6cbad13e8265d0 Reviewed-on: https://gerrit.libreoffice.org/57076 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/elementimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 87d633bd0e5d..7cce225e0257 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -2048,7 +2048,7 @@ namespace xmloff
)
{
OUString sValue = _xAttrList->getValueByIndex( i );
-
+ sValue = _rImport.GetAbsoluteReference(sValue);
INetURLObject aURL(sValue);
if ( aURL.GetProtocol() == INetProtocol::File )
_xElement->setPropertyValue(PROPERTY_DATASOURCENAME,makeAny(sValue));