summaryrefslogtreecommitdiff
path: root/ucb/source/cacher
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r--ucb/source/cacher/cachedcontentresultset.cxx10
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.cxx6
-rw-r--r--ucb/source/cacher/cacheddynamicresultset.cxx6
-rw-r--r--ucb/source/cacher/cacheddynamicresultsetstub.cxx6
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.cxx14
-rw-r--r--ucb/source/cacher/dynamicresultsetwrapper.cxx10
6 files changed, 26 insertions, 26 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index dbe645cf2e04..4c160c3ed4e8 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -505,8 +505,8 @@ void SAL_CALL CCRS_PropertySetInfo::release()
css::uno::Any SAL_CALL CCRS_PropertySetInfo::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XPropertySetInfo* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XPropertySetInfo* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -2098,9 +2098,9 @@ void SAL_CALL CachedContentResultSetFactory::release()
css::uno::Any SAL_CALL CachedContentResultSetFactory::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XServiceInfo* >(this)),
- (static_cast< XCachedContentResultSetFactory* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XServiceInfo* >(this),
+ static_cast< XCachedContentResultSetFactory* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index c6ed4018072b..b6f15e98bcc3 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -511,9 +511,9 @@ void SAL_CALL CachedContentResultSetStubFactory::release()
css::uno::Any SAL_CALL CachedContentResultSetStubFactory::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XServiceInfo* >(this)),
- (static_cast< XCachedContentResultSetStubFactory* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XServiceInfo* >(this),
+ static_cast< XCachedContentResultSetStubFactory* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx
index d72688f8d688..fa99c0e6d2ef 100644
--- a/ucb/source/cacher/cacheddynamicresultset.cxx
+++ b/ucb/source/cacher/cacheddynamicresultset.cxx
@@ -174,9 +174,9 @@ void SAL_CALL CachedDynamicResultSetFactory::release()
css::uno::Any SAL_CALL CachedDynamicResultSetFactory::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XServiceInfo* >(this)),
- (static_cast< XCachedDynamicResultSetFactory* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XServiceInfo* >(this),
+ static_cast< XCachedDynamicResultSetFactory* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
index e25fa173bcf1..5e69d922f375 100644
--- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx
+++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
@@ -166,9 +166,9 @@ void SAL_CALL CachedDynamicResultSetStubFactory::release()
css::uno::Any SAL_CALL CachedDynamicResultSetStubFactory::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XServiceInfo* >(this)),
- (static_cast< XCachedDynamicResultSetStubFactory* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XServiceInfo* >(this),
+ static_cast< XCachedDynamicResultSetStubFactory* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx
index 06a7b1f8a129..978b60c897de 100644
--- a/ucb/source/cacher/contentresultsetwrapper.cxx
+++ b/ucb/source/cacher/contentresultsetwrapper.cxx
@@ -324,13 +324,13 @@ css::uno::Any SAL_CALL ContentResultSetWrapper::queryInterface( const css::uno::
{
//list all interfaces inclusive baseclasses of interfaces
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XComponent* >(this)),
- (static_cast< XCloseable* >(this)),
- (static_cast< XResultSetMetaDataSupplier* >(this)),
- (static_cast< XPropertySet* >(this)),
- (static_cast< XContentAccess* >(this)),
- (static_cast< XResultSet* >(this)),
- (static_cast< XRow* >(this))
+ static_cast< XComponent* >(this),
+ static_cast< XCloseable* >(this),
+ static_cast< XResultSetMetaDataSupplier* >(this),
+ static_cast< XPropertySet* >(this),
+ static_cast< XContentAccess* >(this),
+ static_cast< XResultSet* >(this),
+ static_cast< XRow* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx
index 8e984855c6b6..50c562a3100e 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.cxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx
@@ -119,9 +119,9 @@ css::uno::Any SAL_CALL DynamicResultSetWrapper::queryInterface( const css::uno::
{
//list all interfaces inclusive baseclasses of interfaces
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XComponent* >(this)), //base of XDynamicResultSet
- (static_cast< XDynamicResultSet* >(this)),
- (static_cast< XSourceInitialization* >(this))
+ static_cast< XComponent* >(this), //base of XDynamicResultSet
+ static_cast< XDynamicResultSet* >(this),
+ static_cast< XSourceInitialization* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -455,8 +455,8 @@ void SAL_CALL DynamicResultSetWrapperListener::release()
css::uno::Any SAL_CALL DynamicResultSetWrapperListener::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XDynamicResultSetListener* >(this)),
- (static_cast< XEventListener* >(this))
+ static_cast< XDynamicResultSetListener* >(this),
+ static_cast< XEventListener* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}