From ea4f9161e457456f51a89b1a7a767cc361eb9a46 Mon Sep 17 00:00:00 2001 From: Michael Brauer Date: Wed, 27 Jun 2001 06:52:52 +0000 Subject: #88691#: load/store relative URLs --- xmloff/source/text/txtflde.cxx | 8 ++++---- xmloff/source/text/txtfldi.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index 26e405712faa..9eabde20d397 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtflde.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: dvo $ $Date: 2001-06-15 10:37:08 $ + * last change: $Author: mib $ $Date: 2001-06-27 07:52:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1624,7 +1624,7 @@ void XMLTextFieldExport::ExportFieldHelper( { // this field is a special case because it gets mapped onto a // hyperlink, rather than one of the regular text field. - ProcessString(sXML_href, GetStringProperty(sPropertyURL, rPropSet), + ProcessString(sXML_href, GetExport().GetRelativeReference(GetStringProperty(sPropertyURL, rPropSet)), sal_True, XML_NAMESPACE_XLINK); ProcessString(sXML_target_frame_name, GetStringProperty(sPropertyTargetFrame,rPropSet), @@ -1651,7 +1651,7 @@ void XMLTextFieldExport::ExportFieldHelper( if (GetBoolProperty(sPropertyURLContent, rPropSet)) { ProcessString(sXML_href, - GetStringProperty(sPropertyContent, rPropSet), + GetExport().GetRelativeReference(GetStringProperty(sPropertyContent, rPropSet)), sal_False, XML_NAMESPACE_XLINK); ExportElement(sXML_script); } diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 82cc62f33a73..994b0436ceb3 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtfldi.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: dvo $ $Date: 2001-06-15 17:13:32 $ + * last change: $Author: mib $ $Date: 2001-06-27 07:52:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3260,7 +3260,7 @@ void XMLUrlFieldImportContext::ProcessAttribute( switch (nAttrToken) { case XML_TOK_TEXTFIELD_HREF: - sURL = sAttrValue; + sURL = GetImport().GetAbsoluteReference( sAttrValue ); bValid = sal_True; break; case XML_TOK_TEXTFIELD_TARGET_FRAME: @@ -3674,7 +3674,7 @@ void XMLScriptImportContext::ProcessAttribute( switch (nAttrToken) { case XML_TOK_TEXTFIELD_HREF: - sContent = sAttrValue; + sContent = GetImport().GetAbsoluteReference( sAttrValue ); bContentOK = sal_True; break; -- cgit