diff options
author | Noel Grandin <noelgrandin@collabora.co.uk> | 2023-01-16 10:41:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-16 10:19:16 +0000 |
commit | f025dcc44cffc38720ea1b39c456cf562f1d144d (patch) | |
tree | 25193df86b112533546e5f000559bd1bd4180c16 /connectivity/source/drivers/component/CTable.cxx | |
parent | 0250d6c643f2866c4de7e3c943248ffda9205d05 (diff) |
XUnoTunnel->dynamic_cast in connectivityy
Change-Id: Ibe5e87a1ef1bdc11451e8fe240d017f1ef60dfe6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145556
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/component/CTable.cxx')
-rw-r--r-- | connectivity/source/drivers/component/CTable.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/component/CTable.cxx b/connectivity/source/drivers/component/CTable.cxx index 83dbf8a68830..819ce7a97063 100644 --- a/connectivity/source/drivers/component/CTable.cxx +++ b/connectivity/source/drivers/component/CTable.cxx @@ -104,8 +104,7 @@ Any SAL_CALL OComponentTable::queryInterface( const Type & rType ) rType == cppu::UnoType<XDataDescriptorFactory>::get()) return Any(); - const Any aRet = ::cppu::queryInterface(rType,static_cast< css::lang::XUnoTunnel*> (this)); - return aRet.hasValue() ? aRet : OTable_TYPEDEF::queryInterface(rType); + return OTable_TYPEDEF::queryInterface(rType); } |