summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2002-08-28 14:06:47 +0000
committerJörg Budischewski <jbu@openoffice.org>2002-08-28 14:06:47 +0000
commitbb2cf227e77200f22dfdd2ffab1726a1e6e3ab77 (patch)
treeb91531ea1eb5e97ac8e5fdc3e5fa8305c6ee790b /stoc
parentcfb206f1d3eae0a5295de61450370fe7045d2271 (diff)
#100000# typedescriptions are now checked for completion before they get used
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 8d727792c98f..79d75ac8fd20 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: iafactory.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: dbo $ $Date: 2002-08-22 14:41:39 $
+ * last change: $Author: jbu $ $Date: 2002-08-28 15:06:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -738,6 +738,8 @@ FactoryImpl::FactoryImpl( Reference< XComponentContext > const & xContext )
typelib_InterfaceTypeDescription * pTD = 0;
const Type & rInvType = ::getCppuType( (const Reference< script::XInvocation > *)0 );
TYPELIB_DANGER_GET( (typelib_TypeDescription **)&pTD, rInvType.getTypeLibType() );
+ if( ! pTD->aBase.bComplete )
+ typelib_typedescription_complete( (typelib_TypeDescription **)&pTD );
::typelib_typedescriptionreference_getDescription(
&m_pInvokMethodTD, pTD->ppMembers[ 1 ] ); // invoke()
::typelib_typedescriptionreference_getDescription(