From 579ea2dde6de70307c6e92a686bf3af2e39081e7 Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Wed, 27 Jun 2001 14:06:41 +0000 Subject: #88691# added relative urls --- xmloff/source/draw/ximpstyl.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 881a8315b10f..99b9b9a7d200 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ximpstyl.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: cl $ $Date: 2001-06-19 14:53:22 $ + * last change: $Author: cl $ $Date: 2001-06-27 15:06:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -216,7 +216,7 @@ SvXMLImportContext *SdXMLDrawingPagePropertySetContext::CreateChildContext( if( (nPrefix == XML_NAMESPACE_XLINK) && aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_href ) ) ) { uno::Any aAny; - aAny <<= xAttrList->getValueByIndex(i); + aAny <<= GetImport().GetAbsoluteReference( xAttrList->getValueByIndex(i) ); XMLPropertyState aPropState( rProp.mnIndex, aAny ); rProperties.push_back( aPropState ); } @@ -837,9 +837,9 @@ SdXMLMasterPageContext::SdXMLMasterPageContext( // look for PageMaster with this name // #80012# GetStylesContext() replaced with GetAutoStylesContext() - const SvXMLStyleContext* pStyle = - GetSdImport().GetShapeImport()->GetAutoStylesContext()->FindStyleChildContext( - XML_STYLE_FAMILY_SD_PAGEMASTERCONEXT_ID, msPageMasterName); + const SvXMLStylesContext* pAutoStyles = GetSdImport().GetShapeImport()->GetAutoStylesContext(); + + const SvXMLStyleContext* pStyle = pAutoStyles ? pAutoStyles->FindStyleChildContext(XML_STYLE_FAMILY_SD_PAGEMASTERCONEXT_ID, msPageMasterName) : NULL; if(pStyle && pStyle->ISA(SdXMLPageMasterContext)) { -- cgit