summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:41:44 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:17 +0200
commit4712396b3b6c61b7a54ca631790561eeea5ffc93 (patch)
tree5a91e02a5e7ce630c52dbd0a349df15bb7c4813d /connectivity
parent4f87e9da415632f52a0b212a0005baa991e0585f (diff)
loplugin: defaultparams
Change-Id: I906912f29448bfc72e8139546aa09525c959867f
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/predicateinput.cxx8
-rw-r--r--connectivity/source/parse/sqliterator.cxx4
-rw-r--r--connectivity/source/parse/sqlnode.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx
index 92786f38e230..5dd5a377364e 100644
--- a/connectivity/source/commontools/predicateinput.cxx
+++ b/connectivity/source/commontools/predicateinput.cxx
@@ -399,7 +399,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, true);
+ pFuncSpecParent->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), false);
}
else
{
@@ -407,7 +407,7 @@ namespace dbtools
if ( SQL_NODE_STRING == pValueNode->getNodeType() )
sReturn = pValueNode->getTokenValue();
else
- pValueNode->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), false, true);
+ pValueNode->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), false);
}
}
else
@@ -428,12 +428,12 @@ namespace dbtools
sReturn = pValueNode->getTokenValue();
else
pValueNode->parseNodeToStr(
- sReturn, m_xConnection, &m_aParser.getContext(), false, true
+ sReturn, m_xConnection, &m_aParser.getContext(), false
);
}
else
pValueNode->parseNodeToStr(
- sReturn, m_xConnection, &m_aParser.getContext(), false, true
+ sReturn, m_xConnection, &m_aParser.getContext(), false
);
}
else
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index 6b202c3575a4..0a2c52593816 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -333,7 +333,7 @@ void OSQLParseTreeIterator::impl_getQueryParameterColumns( const OSQLTable& _rQu
break;
OUString sError;
- std::unique_ptr< OSQLParseNode > pSubQueryNode( const_cast< OSQLParser& >( m_rParser ).parseTree( sError, sSubQueryCommand, false ) );
+ std::unique_ptr< OSQLParseNode > pSubQueryNode( const_cast< OSQLParser& >( m_rParser ).parseTree( sError, sSubQueryCommand ) );
if ( !pSubQueryNode.get() )
break;
@@ -988,7 +988,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, true );
+ pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL, false );
// check if the column is also a parameter
traverseSearchCondition(pColumnRef); // num_value_exp
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index d33502718361..97274b5ca5cc 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -666,7 +666,7 @@ bool OSQLParseNode::impl_parseTableNameNodeToString_throw( OUStringBuffer& rStri
if ( bEscapeProcessing && rParam.pParser )
{
OUString sError;
- boost::scoped_ptr< OSQLParseNode > pSubQueryNode( rParam.pParser->parseTree( sError, sCommand, false ) );
+ boost::scoped_ptr< OSQLParseNode > pSubQueryNode( rParam.pParser->parseTree( sError, sCommand ) );
if ( pSubQueryNode.get() )
{
// parse the sub-select to SDBC level, too