summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-07-19 14:58:09 +0200
committerMichael Stahl <mstahl@redhat.com>2016-07-19 15:06:46 +0200
commitfbb3b60cdb7a22595eec80232bb3ccd83781cf00 (patch)
treef2789d55050e4286a40b3b2d3b91de3031379f07 /xmloff
parentc49b87ac140f3f2c79c8211f38cd86118022bdce (diff)
xmloff: forms export: convert one xlink:href to relative
Mostly in forms directory the URLs are converted to relative via exportRelativeTargetLocation(), but not in this one case on the form:connection-resource element. Let's make this consistent. Change-Id: I9252d2686d04c273261b95966a5cf4e9bcbc0bca
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/elementexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 1de42c284ade..36bfcd489836 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -2065,7 +2065,7 @@ namespace xmloff
AddAttribute(
OAttributeMetaData::getCommonControlAttributeNamespace(CCAFlags::TargetLocation),
OAttributeMetaData::getCommonControlAttributeName(CCAFlags::TargetLocation),
- sPropValue);
+ m_rContext.getGlobalContext().GetRelativeReference(sPropValue));
if ( m_rContext.getGlobalContext().GetAttrList().getLength() )
{
SvXMLElementExport aFormElement(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, xmloff::token::XML_CONNECTION_RESOURCE, true, true);