diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2002-08-28 14:06:47 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2002-08-28 14:06:47 +0000 |
commit | bb2cf227e77200f22dfdd2ffab1726a1e6e3ab77 (patch) | |
tree | b91531ea1eb5e97ac8e5fdc3e5fa8305c6ee790b /stoc | |
parent | cfb206f1d3eae0a5295de61450370fe7045d2271 (diff) |
#100000# typedescriptions are now checked for completion before they get used
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/invocation_adapterfactory/iafactory.cxx | 6 |
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( |