summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2000-12-12 08:01:16 +0000
committerDaniel Boelzle <dbo@openoffice.org>2000-12-12 08:01:16 +0000
commit6d98620b5bacb630b3f0a10e8b8ae78def5d1a14 (patch)
tree8fe65eef23cb8a533b1f363ba54ee97846364669 /stoc
parentc5de26be10a0b444120c34b01442a335190e34c4 (diff)
fixed type provider
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation/invocation.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index d58d9707a8f9..1953fa10b069 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: invocation.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: ganaya $ $Date: 2000-10-10 05:40:16 $
+ * last change: $Author: dbo $ $Date: 2000-12-12 09:01:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1064,6 +1064,7 @@ class InvocationService
: public OWeakObject
, public XSingleServiceFactory
, public XServiceInfo
+ , public XTypeProvider
{
public:
InvocationService( const Reference<XMultiServiceFactory> & rSMgr )
@@ -1115,8 +1116,9 @@ Any SAL_CALL InvocationService::queryInterface( const Type & aType )
{
// PropertySet-Implementation
Any a = cppu::queryInterface( aType,
- SAL_STATIC_CAST(XSingleServiceFactory*, this),
- SAL_STATIC_CAST(XServiceInfo*, this) );
+ SAL_STATIC_CAST(XSingleServiceFactory*, this),
+ SAL_STATIC_CAST(XTypeProvider*, this),
+ SAL_STATIC_CAST(XServiceInfo*, this) );
if( a.hasValue() )
{
return a;