summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:23 +0200
commit25c047fec71050bcedc6c9d355f35486f615c3c4 (patch)
tree0f6b92ca37b9b7ee61cfa3be2bda8089dd797265 /connectivity
parent1707c47de712a50ca0641a4689f2dc2a43593f74 (diff)
loplugin:defaultparams
Change-Id: I8e40cf9166aa65c81cb6b4ed17506ec5b9d725e3
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/predicateinput.cxx8
-rw-r--r--connectivity/source/drivers/file/FResultSet.cxx4
-rw-r--r--connectivity/source/parse/sqliterator.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx
index ec6227951485..5a4fe74a7913 100644
--- a/connectivity/source/commontools/predicateinput.cxx
+++ b/connectivity/source/commontools/predicateinput.cxx
@@ -398,7 +398,7 @@ namespace dbtools
OSQLParseNode* pFuncSpecParent = pOdbcSpec->getParent();
OSL_ENSURE( pFuncSpecParent, "OPredicateInputController::getPredicateValue: an ODBC func spec node without parent?" );
if ( pFuncSpecParent )
- pFuncSpecParent->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), false);
+ pFuncSpecParent->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext());
}
else
{
@@ -406,7 +406,7 @@ namespace dbtools
if ( SQL_NODE_STRING == pValueNode->getNodeType() )
sReturn = pValueNode->getTokenValue();
else
- pValueNode->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), false);
+ pValueNode->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext());
}
}
else
@@ -427,12 +427,12 @@ namespace dbtools
sReturn = pValueNode->getTokenValue();
else
pValueNode->parseNodeToStr(
- sReturn, m_xConnection, &m_aParser.getContext(), false
+ sReturn, m_xConnection, &m_aParser.getContext()
);
}
else
pValueNode->parseNodeToStr(
- sReturn, m_xConnection, &m_aParser.getContext(), false
+ sReturn, m_xConnection, &m_aParser.getContext()
);
}
else
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 682d42b26c7d..59fe1072e40c 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -1243,7 +1243,7 @@ bool OResultSet::OpenImpl()
bool bOK = true;
while (bOK)
{
- bOK = ExecuteRow(IResultSetHelper::NEXT,1,true);
+ bOK = ExecuteRow(IResultSetHelper::NEXT);
if (bOK)
{
@@ -1379,7 +1379,7 @@ bool OResultSet::OpenImpl()
bool bOK = true;
while (bOK)
{
- bOK = ExecuteRow(IResultSetHelper::NEXT,1,true);
+ bOK = ExecuteRow(IResultSetHelper::NEXT);
if (bOK)
{
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index 36a96d2dd5c0..79b6e847b681 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, false );
+ pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL );
// check if the column is also a parameter
traverseSearchCondition(pColumnRef); // num_value_exp