summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/formsimp.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2001-07-24 16:06:10 +0000
committerThorsten Behrens <thb@openoffice.org>2001-07-24 16:06:10 +0000
commitedff157aff0cfd44686c1e8021ca3c8361602215 (patch)
tree4acfebcf3b74e3d1529a49e0347e18d01ec27a67 /xmloff/source/forms/formsimp.cxx
parent7f30c4001025946f4855d78efd3933de7b4067a2 (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/forms/formsimp.cxx')
-rw-r--r--xmloff/source/forms/formsimp.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmloff/source/forms/formsimp.cxx b/xmloff/source/forms/formsimp.cxx
index e5963e00c0..61b979e2b3 100644
--- a/xmloff/source/forms/formsimp.cxx
+++ b/xmloff/source/forms/formsimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: formsimp.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: cl $ $Date: 2001-01-18 14:53:32 $
+ * last change: $Author: thb $ $Date: 2001-07-24 17:06:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,5 +95,9 @@ XMLFormsContext::~XMLFormsContext()
SvXMLImportContext * XMLFormsContext::CreateChildContext( USHORT nPrefix, const ::rtl::OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList )
{
+#ifndef SVX_LIGHT
return GetImport().GetFormImport()->createContext( nPrefix, rLocalName, xAttrList );
+#else
+ return NULL;
+#endif
}