diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:45:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:45:02 +0200 |
commit | cb85f1c6ab6751920db838597fd502648a75572c (patch) | |
tree | 9b2f6ce2e53a50c688ef46c72d343077d7a1abe9 /connectivity | |
parent | 83f5469438e0e9f5f950761de05080b20694ede3 (diff) |
loplugin:defaultparams
Change-Id: I7e232e92cc9d058f93eff9f7249e37ed3a9cd9ac
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DResultSet.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/flat/ETable.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mysql/Yservices.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/dbase/DResultSet.cxx b/connectivity/source/drivers/dbase/DResultSet.cxx index a323208b3708..b16b7de7bba0 100644 --- a/connectivity/source/drivers/dbase/DResultSet.cxx +++ b/connectivity/source/drivers/dbase/DResultSet.cxx @@ -163,7 +163,7 @@ bool ODbaseResultSet::fillIndexValues(const Reference< XColumnsSupplier> &_xInde dbase::ODbaseIndex* pIndex = reinterpret_cast< dbase::ODbaseIndex* >( xTunnel->getSomething(dbase::ODbaseIndex::getUnoTunnelImplementationId()) ); if(pIndex) { - dbase::OIndexIterator* pIter = pIndex->createIterator(NULL,NULL); + dbase::OIndexIterator* pIter = pIndex->createIterator(NULL); if (pIter) { diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index bc3d46b046e5..3d1057321205 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1671,7 +1671,7 @@ Reference<XPropertySet> ODbaseTable::isUniqueByColumnName(sal_Int32 _nColumnPos) static double toDouble(const OString& rString) { - return ::rtl::math::stringToDouble( rString, '.', ',', NULL, NULL ); + return ::rtl::math::stringToDouble( rString, '.', ',' ); } diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index bdacc83998d8..7db929c164fe 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -693,7 +693,7 @@ bool OFlatTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns & _rCols, bool else aStrConverted = aStr; } - const double nVal = ::rtl::math::stringToDouble(aStrConverted,'.',',',NULL,NULL); + const double nVal = ::rtl::math::stringToDouble(aStrConverted,'.',','); // #99178# OJ if ( DataType::DECIMAL == nType || DataType::NUMERIC == nType ) diff --git a/connectivity/source/drivers/mysql/Yservices.cxx b/connectivity/source/drivers/mysql/Yservices.cxx index 95360d33eee7..b4692fded8af 100644 --- a/connectivity/source/drivers/mysql/Yservices.cxx +++ b/connectivity/source/drivers/mysql/Yservices.cxx @@ -53,7 +53,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL mysql_component_getFactory( try { xRet = ::cppu::createSingleFactory( xServiceManager, sImplementationName, ODriverDelegator_CreateInstance, - ODriverDelegator::getSupportedServiceNames_Static(), 0); + ODriverDelegator::getSupportedServiceNames_Static()); } catch(...) { diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index 79b6e847b681..e7faecfc987a 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -986,7 +986,7 @@ bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSele SQL_ISRULE(pColumnRef,num_value_exp) || SQL_ISRULE(pColumnRef,term))*/ { // Function call present - pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL ); + pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection ); // check if the column is also a parameter traverseSearchCondition(pColumnRef); // num_value_exp |