summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/file/FTables.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/file/FTables.cxx')
-rw-r--r--connectivity/source/drivers/file/FTables.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FTables.cxx b/connectivity/source/drivers/file/FTables.cxx
index acff3d59142b..ae5f2cb7cf87 100644
--- a/connectivity/source/drivers/file/FTables.cxx
+++ b/connectivity/source/drivers/file/FTables.cxx
@@ -53,10 +53,10 @@ m_xMetaData.clear();
Any SAL_CALL OTables::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
{
- if( rType == ::getCppuType((const Reference<XColumnLocate>*)0) ||
- rType == ::getCppuType((const Reference<XDataDescriptorFactory>*)0) ||
- rType == ::getCppuType((const Reference<XAppend>*)0) ||
- rType == ::getCppuType((const Reference<XDrop>*)0))
+ if( rType == cppu::UnoType<XColumnLocate>::get()||
+ rType == cppu::UnoType<XDataDescriptorFactory>::get()||
+ rType == cppu::UnoType<XAppend>::get()||
+ rType == cppu::UnoType<XDrop>::get())
return Any();
typedef sdbcx::OCollection OTables_BASE;