Kaydet (Commit) 510209df authored tarafından Michael Stahl's avatar Michael Stahl

tdf#117261 xmloff: ODF import: convert form:connection-resource URL

... to absolute on import.

(regression from fbb3b60c)

Change-Id: I2cd046e44489da86d3d67ff5df6cbad13e8265d0
Reviewed-on: https://gerrit.libreoffice.org/57076Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
Tested-by: Jenkins
üst 3a27688e
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment