diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-07-13 07:19:53 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-07-13 07:19:53 +0000 |
commit | 4fc9663eaa012f55c0f16db701558df4a0ec6085 (patch) | |
tree | cb67a34e81b764742a64d7d00cd25939d302ca33 /xmloff/source | |
parent | 3022e54403ba0a10928fad0aab19949a53350bfd (diff) |
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 <properties>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/style/PageHeaderFooterContext.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
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); } |