summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2001-11-07 17:19:27 +0000
committerAndreas Bregas <ab@openoffice.org>2001-11-07 17:19:27 +0000
commit774503c53548fa515cefd84883b289463f0a5307 (patch)
treed656833b09be107ba5c03d5af0bcaf764ca61a64 /xmlscript
parentf8ab2aa712d145e68418a6a03f5b7e4ca1725d4d (diff)
#86383# Library import
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmllib_imexp/imp_share.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx
index 88219d29c1ce..151de5641e33 100644
--- a/xmlscript/source/xmllib_imexp/imp_share.hxx
+++ b/xmlscript/source/xmllib_imexp/imp_share.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: imp_share.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: ab $ $Date: 2001-08-09 15:40:22 $
+ * last change: $Author: ab $ $Date: 2001-11-07 18:19:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -153,13 +153,21 @@ struct LibraryImport
: public ::cppu::WeakImplHelper1< xml::XImporter >
{
friend class LibrariesElement;
+ friend class LibraryElement;
LibDescriptorArray* mpLibArray;
+ LibDescriptor* mpLibDesc; // Single library mode
public:
inline LibraryImport( LibDescriptorArray* pLibArray )
SAL_THROW( () )
- : mpLibArray( pLibArray ) {}
+ : mpLibArray( pLibArray )
+ , mpLibDesc( NULL ) {}
+ // Single library mode
+ inline LibraryImport( LibDescriptor* pLibDesc )
+ SAL_THROW( () )
+ : mpLibArray( NULL )
+ , mpLibDesc( pLibDesc ) {}
virtual ~LibraryImport()
SAL_THROW( () );