summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx4
-rw-r--r--ucbhelper/source/provider/contentinfo.cxx8
-rw-r--r--ucbhelper/source/provider/propertyvalueset.cxx6
-rw-r--r--ucbhelper/source/provider/providerhelper.cxx6
-rw-r--r--ucbhelper/source/provider/resultset.cxx22
-rw-r--r--ucbhelper/source/provider/resultsethelper.cxx8
-rw-r--r--ucbhelper/source/provider/resultsetmetadata.cxx4
7 files changed, 29 insertions, 29 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index eb7d22491a85..7484f5c899ad 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -1302,8 +1302,8 @@ void SAL_CALL ContentEventListener_Impl::release()
css::uno::Any SAL_CALL ContentEventListener_Impl::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XContentEventListener* >(this)),
- (static_cast< XEventListener* >(this))
+ static_cast< XContentEventListener* >(this),
+ static_cast< XEventListener* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucbhelper/source/provider/contentinfo.cxx b/ucbhelper/source/provider/contentinfo.cxx
index 2ad3edc29d5d..8ad2c91122fc 100644
--- a/ucbhelper/source/provider/contentinfo.cxx
+++ b/ucbhelper/source/provider/contentinfo.cxx
@@ -71,8 +71,8 @@ void SAL_CALL PropertySetInfo::release()
css::uno::Any SAL_CALL PropertySetInfo::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XTypeProvider* >(this)),
- (static_cast< beans::XPropertySetInfo* >(this))
+ static_cast< lang::XTypeProvider* >(this),
+ static_cast< beans::XPropertySetInfo* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -241,8 +241,8 @@ void SAL_CALL CommandProcessorInfo::release()
css::uno::Any SAL_CALL CommandProcessorInfo::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XTypeProvider* >(this)),
- (static_cast< css::ucb::XCommandInfo* >(this))
+ static_cast< lang::XTypeProvider* >(this),
+ static_cast< css::ucb::XCommandInfo* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucbhelper/source/provider/propertyvalueset.cxx b/ucbhelper/source/provider/propertyvalueset.cxx
index a9e1967a7ce1..6e60aed4941c 100644
--- a/ucbhelper/source/provider/propertyvalueset.cxx
+++ b/ucbhelper/source/provider/propertyvalueset.cxx
@@ -262,9 +262,9 @@ void SAL_CALL PropertyValueSet::release()
css::uno::Any SAL_CALL PropertyValueSet::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XRow* >(this)),
- (static_cast< XColumnLocate* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XRow* >(this),
+ static_cast< XColumnLocate* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx
index c377288069ee..83029db18668 100644
--- a/ucbhelper/source/provider/providerhelper.cxx
+++ b/ucbhelper/source/provider/providerhelper.cxx
@@ -89,9 +89,9 @@ void SAL_CALL ContentProviderImplHelper::release()
css::uno::Any SAL_CALL ContentProviderImplHelper::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XTypeProvider* >(this)),
- (static_cast< lang::XServiceInfo* >(this)),
- (static_cast< css::ucb::XContentProvider* >(this))
+ static_cast< lang::XTypeProvider* >(this),
+ static_cast< lang::XServiceInfo* >(this),
+ static_cast< css::ucb::XContentProvider* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx
index 9a8f7bb1bfd8..522748442c02 100644
--- a/ucbhelper/source/provider/resultset.cxx
+++ b/ucbhelper/source/provider/resultset.cxx
@@ -233,15 +233,15 @@ void SAL_CALL ResultSet::release()
css::uno::Any SAL_CALL ResultSet::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XTypeProvider* >(this)),
- (static_cast< lang::XServiceInfo* >(this)),
- (static_cast< lang::XComponent* >(this)),
- (static_cast< css::ucb::XContentAccess* >(this)),
- (static_cast< sdbc::XResultSet* >(this)),
- (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)),
- (static_cast< sdbc::XRow* >(this)),
- (static_cast< sdbc::XCloseable* >(this)),
- (static_cast< beans::XPropertySet* >(this))
+ static_cast< lang::XTypeProvider* >(this),
+ static_cast< lang::XServiceInfo* >(this),
+ static_cast< lang::XComponent* >(this),
+ static_cast< css::ucb::XContentAccess* >(this),
+ static_cast< sdbc::XResultSet* >(this),
+ static_cast< sdbc::XResultSetMetaDataSupplier* >(this),
+ static_cast< sdbc::XRow* >(this),
+ static_cast< sdbc::XCloseable* >(this),
+ static_cast< beans::XPropertySet* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -1491,8 +1491,8 @@ css::uno::Any SAL_CALL PropertySetInfo::queryInterface(
const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XTypeProvider* >(this)),
- (static_cast< beans::XPropertySetInfo* >(this))
+ static_cast< lang::XTypeProvider* >(this),
+ static_cast< beans::XPropertySetInfo* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucbhelper/source/provider/resultsethelper.cxx b/ucbhelper/source/provider/resultsethelper.cxx
index a85a182c368f..4de871d1c281 100644
--- a/ucbhelper/source/provider/resultsethelper.cxx
+++ b/ucbhelper/source/provider/resultsethelper.cxx
@@ -81,10 +81,10 @@ void SAL_CALL ResultSetImplHelper::release()
css::uno::Any SAL_CALL ResultSetImplHelper::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XTypeProvider* >(this)),
- (static_cast< lang::XServiceInfo* >(this)),
- (static_cast< lang::XComponent* >(this)),
- (static_cast< css::ucb::XDynamicResultSet* >(this))
+ static_cast< lang::XTypeProvider* >(this),
+ static_cast< lang::XServiceInfo* >(this),
+ static_cast< lang::XComponent* >(this),
+ static_cast< css::ucb::XDynamicResultSet* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx
index 5c35d84c6f6e..1c572a1fe7c8 100644
--- a/ucbhelper/source/provider/resultsetmetadata.cxx
+++ b/ucbhelper/source/provider/resultsetmetadata.cxx
@@ -121,8 +121,8 @@ void SAL_CALL ResultSetMetaData::release()
css::uno::Any SAL_CALL ResultSetMetaData::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< XTypeProvider* >(this)),
- (static_cast< XResultSetMetaData* >(this))
+ static_cast< XTypeProvider* >(this),
+ static_cast< XResultSetMetaData* >(this)
);
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}