diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-18 15:59:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 13:25:54 +0100 |
commit | be94207ecb88a9005ee6624e354d70c9613d7653 (patch) | |
tree | e57c6534adaea7930e7eac95f3b77c4e37ac452e /connectivity/source/commontools/predicateinput.cxx | |
parent | 7d9a5d886f4ba5c61d3c5602a9825510c68eea41 (diff) |
new loplugin:emptyif
Change-Id: I1092115a0ceb3a5e6680a4b724b129f98a892c42
Reviewed-on: https://gerrit.libreoffice.org/48128
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools/predicateinput.cxx')
-rw-r--r-- | connectivity/source/commontools/predicateinput.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx index ac64032aaa7b..d1cf3b4673dd 100644 --- a/connectivity/source/commontools/predicateinput.cxx +++ b/connectivity/source/commontools/predicateinput.cxx @@ -305,13 +305,6 @@ namespace dbtools OUString sSql = "SELECT * FROM x WHERE " + sField + _rPredicateValue; std::unique_ptr<OSQLParseNode> pParseNode( const_cast< OSQLParser& >( m_aParser ).parseTree( sError, sSql, true ) ); nType = DataType::DOUBLE; - if ( pParseNode.get() ) - { - OSQLParseNode* pColumnRef = pParseNode->getByRule(OSQLParseNode::column_ref); - if ( pColumnRef ) - { - } - } } Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); |