summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetbase.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 5b0df00312f6..70fdf9c5e0e5 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -76,12 +76,12 @@ uno::Any SAL_CALL
ResultSetBase::queryInterface( const uno::Type& rType )
{
uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< lang::XComponent* >(this)),
- (static_cast< sdbc::XRow* >(this)),
- (static_cast< sdbc::XResultSet* >(this)),
- (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)),
- (static_cast< beans::XPropertySet* >(this)),
- (static_cast< ucb::XContentAccess* >(this)) );
+ static_cast< lang::XComponent* >(this),
+ static_cast< sdbc::XRow* >(this),
+ static_cast< sdbc::XResultSet* >(this),
+ static_cast< sdbc::XResultSetMetaDataSupplier* >(this),
+ static_cast< beans::XPropertySet* >(this),
+ static_cast< ucb::XContentAccess* >(this) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -366,7 +366,7 @@ public:
uno::Any SAL_CALL queryInterface( const uno::Type& rType ) override
{
uno::Any aRet = cppu::queryInterface( rType,
- (static_cast< beans::XPropertySetInfo* >(this)) );
+ static_cast< beans::XPropertySetInfo* >(this) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}