summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2012-02-09 13:28:08 +0000
committerAriel Constenla-Haile <arielch@apache.org>2012-02-09 13:28:08 +0000
commita1d39bb1c9d8be03d3d2e496ce4cb6c86fd2d4d6 (patch)
tree7aa65472aa23d46fe91bb60f51f2d444ad77ebdc
parentace22b0e575fdd97c040151fe27da092b0ea9c35 (diff)
i67068 - add XTypeProvider to queryInterface
-rw-r--r--framework/source/fwe/classes/actiontriggercontainer.cxx5
-rw-r--r--framework/source/fwe/classes/actiontriggerpropertyset.cxx3
-rw-r--r--framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx3
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx2
4 files changed, 6 insertions, 7 deletions
diff --git a/framework/source/fwe/classes/actiontriggercontainer.cxx b/framework/source/fwe/classes/actiontriggercontainer.cxx
index cc9976ff20a9..3454d7cb7202 100644
--- a/framework/source/fwe/classes/actiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/actiontriggercontainer.cxx
@@ -54,7 +54,8 @@ throw ( RuntimeException )
Any a = ::cppu::queryInterface(
aType ,
SAL_STATIC_CAST( XMultiServiceFactory*, this ),
- SAL_STATIC_CAST( XServiceInfo* , this ));
+ SAL_STATIC_CAST( XServiceInfo* , this ),
+ SAL_STATIC_CAST( XTypeProvider* , this ));
if( a.hasValue() )
{
@@ -154,8 +155,6 @@ Sequence< Type > SAL_CALL ActionTriggerContainer::getTypes() throw ( RuntimeExce
static ::cppu::OTypeCollection aTypeCollection(
::getCppuType(( const Reference< XMultiServiceFactory >*)NULL ) ,
::getCppuType(( const Reference< XIndexContainer >*)NULL ) ,
- ::getCppuType(( const Reference< XIndexAccess >*)NULL ) ,
- ::getCppuType(( const Reference< XIndexReplace >*)NULL ) ,
::getCppuType(( const Reference< XServiceInfo >*)NULL ) ,
::getCppuType(( const Reference< XTypeProvider >*)NULL ) ) ;
diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
index 7449a56813ef..78437de31817 100644
--- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
@@ -77,7 +77,8 @@ throw ( RuntimeException )
{
Any a = ::cppu::queryInterface(
aType ,
- SAL_STATIC_CAST( XServiceInfo*, this ));
+ SAL_STATIC_CAST( XServiceInfo*, this ),
+ SAL_STATIC_CAST( XTypeProvider*, this ));
if( a.hasValue() )
return a;
diff --git a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
index 4c7ae368af18..23215dbbf84f 100644
--- a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
@@ -70,7 +70,8 @@ throw ( RuntimeException )
{
Any a = ::cppu::queryInterface(
aType ,
- SAL_STATIC_CAST( XServiceInfo*, this ));
+ SAL_STATIC_CAST( XServiceInfo*, this ),
+ SAL_STATIC_CAST( XTypeProvider*, this ));
if( a.hasValue() )
return a;
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 4c9501a723dd..a8a321a5ec78 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -305,8 +305,6 @@ Sequence< Type > SAL_CALL RootActionTriggerContainer::getTypes() throw ( Runtime
static ::cppu::OTypeCollection aTypeCollection(
::getCppuType(( const Reference< XMultiServiceFactory >*)NULL ) ,
::getCppuType(( const Reference< XIndexContainer >*)NULL ) ,
- ::getCppuType(( const Reference< XIndexAccess >*)NULL ) ,
- ::getCppuType(( const Reference< XIndexReplace >*)NULL ) ,
::getCppuType(( const Reference< XServiceInfo >*)NULL ) ,
::getCppuType(( const Reference< XTypeProvider >*)NULL ) ,
::getCppuType(( const Reference< XUnoTunnel >*)NULL ) ,