From 4fc9663eaa012f55c0f16db701558df4a0ec6085 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 13 Jul 2004 07:19:53 +0000 Subject: INTEGRATION: CWS oasis (1.4.276); FILE MERGED 2004/04/21 07:27:22 mib 1.4.276.2: - separated attribute lists for <*-properties> elements on import (#i20153#) - replaced "style:text-backgroubnd-color" with "fo:background-color" 2004/04/07 11:49:55 mib 1.4.276.1: splitted --- xmloff/source/style/PageHeaderFooterContext.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xmloff/source') diff --git a/xmloff/source/style/PageHeaderFooterContext.cxx b/xmloff/source/style/PageHeaderFooterContext.cxx index 881ed51020d9..64383f73d645 100644 --- a/xmloff/source/style/PageHeaderFooterContext.cxx +++ b/xmloff/source/style/PageHeaderFooterContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: PageHeaderFooterContext.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:17 $ + * last change: $Author: rt $ $Date: 2004-07-13 08:19:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,7 +82,7 @@ using namespace com::sun::star; using ::xmloff::token::IsXMLToken; -using ::xmloff::token::XML_PROPERTIES; +using ::xmloff::token::XML_HEADER_FOOTER_PROPERTIES; //------------------------------------------------------------------ @@ -115,13 +115,14 @@ SvXMLImportContext *PageHeaderFooterContext::CreateChildContext( USHORT nPrefix, { SvXMLImportContext *pContext = 0; - if( XML_NAMESPACE_STYLE == nPrefix && IsXMLToken( rLName, XML_PROPERTIES ) ) + if( XML_NAMESPACE_STYLE == nPrefix && IsXMLToken( rLName, XML_HEADER_FOOTER_PROPERTIES ) ) { PageContextType aType = Header; if (!bHeader) aType = Footer; pContext = new PagePropertySetContext( GetImport(), nPrefix, rLName, xAttrList, + XML_TYPE_PROP_HEADER_FOOTER, rProperties, rMap, nStartIndex, nEndIndex, aType); } -- cgit