diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-19 09:51:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-19 13:28:41 +0200 |
commit | 242e1c42d975b2d8729cd150cf104b177033760a (patch) | |
tree | a44512de3ad3cb5a59cf3b658752dfe154ba5aa0 /connectivity/source/drivers/flat | |
parent | ee2bb231036b1d9d954dec369855948e6ea1f53a (diff) |
loplugin:referencecasting in comphelper..connectivity
Change-Id: I21896885c29e9ab58ebab17b59f1480c6a06fb38
Reviewed-on: https://gerrit.libreoffice.org/75936
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/flat')
-rw-r--r-- | connectivity/source/drivers/flat/ETable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index 550fb6c9dcff..ff753ce484eb 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -418,7 +418,7 @@ void OFlatTable::construct() Reference< XNumberFormatsSupplier > xSupplier = NumberFormatsSupplier::createWithLocale( m_pConnection->getDriver()->getComponentContext(), aAppLocale ); m_xNumberFormatter.set( NumberFormatter::create( m_pConnection->getDriver()->getComponentContext()), UNO_QUERY_THROW); m_xNumberFormatter->attachNumberFormatsSupplier(xSupplier); - Reference<XPropertySet> xProp(xSupplier->getNumberFormatSettings(),UNO_QUERY); + Reference<XPropertySet> xProp = xSupplier->getNumberFormatSettings(); xProp->getPropertyValue("NullDate") >>= m_aNullDate; INetURLObject aURL; |