diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-07-06 17:33:28 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-07-09 09:48:21 +0200 |
commit | 622cf9c353d0d9eee3b35f03b6694d2a5f5d067d (patch) | |
tree | 1f0cfbf48cf258a5051f039c6229c2f01e9e2113 /xmloff | |
parent | aeacbbee40de4009c60a28e39c3698eeeb85f566 (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
(cherry picked from commit 510209df4bcf457cac819e75889d564d620f119d)
Reviewed-on: https://gerrit.libreoffice.org/57093
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit 2bd85bfd98203cc11e2391e01e9f8d70a9037214)
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 74775302105e..f54e18dc1e84 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -2041,7 +2041,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)); |