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

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
üst c49b87ac
...@@ -2065,7 +2065,7 @@ namespace xmloff ...@@ -2065,7 +2065,7 @@ namespace xmloff
AddAttribute( AddAttribute(
OAttributeMetaData::getCommonControlAttributeNamespace(CCAFlags::TargetLocation), OAttributeMetaData::getCommonControlAttributeNamespace(CCAFlags::TargetLocation),
OAttributeMetaData::getCommonControlAttributeName(CCAFlags::TargetLocation), OAttributeMetaData::getCommonControlAttributeName(CCAFlags::TargetLocation),
sPropValue); m_rContext.getGlobalContext().GetRelativeReference(sPropValue));
if ( m_rContext.getGlobalContext().GetAttrList().getLength() ) if ( m_rContext.getGlobalContext().GetAttrList().getLength() )
{ {
SvXMLElementExport aFormElement(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, xmloff::token::XML_CONNECTION_RESOURCE, true, true); SvXMLElementExport aFormElement(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, xmloff::token::XML_CONNECTION_RESOURCE, true, true);
......
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