diff options
author | Thorsten Behrens <thb@openoffice.org> | 2001-07-24 16:06:10 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2001-07-24 16:06:10 +0000 |
commit | 2ad5c484c75319fec601f44638d51049a41efa67 (patch) | |
tree | 0f9f4885ea9aeee71d4d9ecad12a33ab745c6526 /xmloff/source/text/XMLTextPropertySetContext.cxx | |
parent | 7566d20155bf137a51fe038a9f55e992021cb0c0 (diff) |
#87913# Now building a static xmloff lib, which is linked only against the player. Stuff not needed for player is disabled with SVX_LIGHT define
Diffstat (limited to 'xmloff/source/text/XMLTextPropertySetContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextPropertySetContext.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextPropertySetContext.cxx b/xmloff/source/text/XMLTextPropertySetContext.cxx index 2d5e9e6b1b0d..63d8ad348779 100644 --- a/xmloff/source/text/XMLTextPropertySetContext.cxx +++ b/xmloff/source/text/XMLTextPropertySetContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTextPropertySetContext.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: dvo $ $Date: 2001-04-17 12:01:21 $ + * last change: $Author: thb $ $Date: 2001-07-24 17:06:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -124,10 +124,16 @@ SvXMLImportContext *XMLTextPropertySetContext::CreateChildContext( rProperties ); break; case CTF_TEXTCOLUMNS: +#ifndef SVX_LIGHT pContext = new XMLTextColumnsContext( GetImport(), nPrefix, rLocalName, xAttrList, rProp, rProperties ); +#else + // create default context to skip content + pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); +#endif // #ifndef SVX_LIGHT break; + case CTF_DROPCAPFORMAT: { DBG_ASSERT( rProp.mnIndex >= 2 && @@ -160,6 +166,7 @@ SvXMLImportContext *XMLTextPropertySetContext::CreateChildContext( rProp.mnIndex-1, rProperties ); break; +#ifndef SVX_LIGHT case CTF_SECTION_FOOTNOTE_END: pContext = new XMLSectionFootnoteConfigImport( GetImport(), nPrefix, rLocalName, rProperties, @@ -170,6 +177,7 @@ SvXMLImportContext *XMLTextPropertySetContext::CreateChildContext( GetImport(), nPrefix, rLocalName, rProperties, xMapper->getPropertySetMapper(), rProp.mnIndex); break; +#endif // #ifndef SVX_LIGHT } if( !pContext ) |