summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_statement.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:09:36 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 10:52:46 +0200
commit860130783830fc39ea49a3c76f70ab79b4f31f92 (patch)
tree454924b0228fbe92f5fff736779fec41094334f5 /connectivity/source/drivers/postgresql/pq_statement.cxx
parent70a30fd179266f65500b880ccb0f87011b670fca (diff)
loplugin: defaultparams
Change-Id: Id0a933d3507bc0f8145afa04effadf8475c8e210
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_statement.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_statement.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx
index 87b33c6509d3..52eb1f29f272 100644
--- a/connectivity/source/drivers/postgresql/pq_statement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_statement.cxx
@@ -480,7 +480,7 @@ bool executePostgresCommand( const OString & cmd, struct CommandData *data )
if( *(data->pLastOidInserted) )
{
buf.append( ", usedOid=" );
- buf.append( *(data->pLastOidInserted) , 10 );
+ buf.append( *(data->pLastOidInserted) );
buf.append( ", diagnosedTable=" );
buf.append(
OUStringToOString( *data->pLastTableInserted, pSettings->encoding ) );
@@ -723,7 +723,7 @@ Reference< XResultSet > getGeneratedValuesFromLastInsert(
else
bufferQuoteIdentifier( buf, lastTableInserted, pConnectionSettings );
buf.append( " WHERE oid = " );
- buf.append( nLastOid , 10 );
+ buf.append( nLastOid );
query = buf.makeStringAndClear();
}
else if ( lastTableInserted.getLength() && lastQuery.getLength() )