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/draw/ximppage.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/draw/ximppage.cxx')
-rw-r--r-- | xmloff/source/draw/ximppage.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index de2d1badeab4..06bc1ca2c72e 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ximppage.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:13 $ + * last change: $Author: thb $ $Date: 2001-07-24 17:06:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,8 +127,10 @@ void SdXMLGenericPageContext::StartElement( const ::com::sun::star::uno::Referen { GetImport().GetShapeImport()->pushGroupForSorting( mxShapes ); +#ifndef SVX_LIGHT if( GetImport().IsFormsSupported() ) GetImport().GetFormImport()->startPage( uno::Reference< drawing::XDrawPage >::query( mxShapes ) ); +#endif } ////////////////////////////////////////////////////////////////////////////// @@ -145,8 +147,10 @@ SvXMLImportContext* SdXMLGenericPageContext::CreateChildContext( USHORT nPrefix, } else if( nPrefix == XML_NAMESPACE_OFFICE && IsXMLToken( rLocalName, XML_FORMS ) ) { +#ifndef SVX_LIGHT if( GetImport().IsFormsSupported() ) pContext = GetImport().GetFormImport()->createOfficeFormsContext( GetImport(), nPrefix, rLocalName ); +#endif } else { @@ -168,8 +172,10 @@ void SdXMLGenericPageContext::EndElement() { GetImport().GetShapeImport()->popGroupAndSort(); +#ifndef SVX_LIGHT if( GetImport().IsFormsSupported() ) GetImport().GetFormImport()->endPage(); +#endif } void SdXMLGenericPageContext::SetLayout() |