diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-05 11:47:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 07:19:33 +0100 |
commit | e1755ac8c42ba4657881ecf7aa652a137abf3267 (patch) | |
tree | 4277345d806eba389b60cce2f0f11c122fefbc2d /dbaccess | |
parent | c7e5c7da98d40852d18bd7683e40c9679836ba49 (diff) |
loplugin:countusersofdefaultparams in connectivity
Change-Id: Ia613257f2de1395c6629c1c37026ed48d4b927c8
Reviewed-on: https://gerrit.libreoffice.org/45854
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/OptimisticSet.cxx | 8 | ||||
-rw-r--r-- | dbaccess/source/core/api/RowSetCache.cxx | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/dbaccess/source/core/api/OptimisticSet.cxx b/dbaccess/source/core/api/OptimisticSet.cxx index 0d8383cd8b07..461bd6334385 100644 --- a/dbaccess/source/core/api/OptimisticSet.cxx +++ b/dbaccess/source/core/api/OptimisticSet.cxx @@ -460,7 +460,7 @@ void OptimisticSet::mergeColumnValues(sal_Int32 i_nColumnIndex,ORowSetValueVecto { io_aRow[aJoinIter->second] = io_aRow[i_nColumnIndex]; io_aInsertRow[aJoinIter->second] = io_aInsertRow[i_nColumnIndex]; - io_aRow[aJoinIter->second].setModified(); + io_aRow[aJoinIter->second].setModified(true); o_aChangedColumns.push_back(aJoinIter->second); } } @@ -496,7 +496,7 @@ bool OptimisticSet::updateColumnValues(const ORowSetValueVector::Vector& io_aCac if ( aCol.second.sTableName == sTableName ) { io_aRow[aCol.second.nPosition] = io_aCachedRow[aCol.second.nPosition]; - io_aRow[aCol.second.nPosition].setModified(); + io_aRow[aCol.second.nPosition].setModified(true); } } } @@ -537,7 +537,7 @@ bool OptimisticSet::columnValuesUpdated(ORowSetValueVector::Vector& o_aCachedRow if ( aCol2.second.sTableName == sTableName ) { o_aCachedRow[aCol2.second.nPosition] = i_aRow[aCol2.second.nPosition]; - o_aCachedRow[aCol2.second.nPosition].setModified(); + o_aCachedRow[aCol2.second.nPosition].setModified(true); } } fillMissingValues(o_aCachedRow); @@ -609,7 +609,7 @@ void OptimisticSet::fillMissingValues(ORowSetValueVector::Vector& io_aRow) const if ( aColIter->second.sTableName == aSqlIter->first ) { io_aRow[aColIter->second.nPosition].fill(i++, aColIter->second.nType, xRow); - io_aRow[aColIter->second.nPosition].setModified(); + io_aRow[aColIter->second.nPosition].setModified(true); } } } diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index 8dacb0efa514..78bb0140f5a6 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -562,7 +562,7 @@ void ORowSetCache::updateNull(sal_Int32 columnIndex,ORowSetValueVector::Vector& { rInsert[columnIndex].setBound(true); rInsert[columnIndex].setNull(); - rInsert[columnIndex].setModified(); + rInsert[columnIndex].setModified(true); io_aRow[columnIndex].setNull(); m_xCacheSet->mergeColumnValues(columnIndex,rInsert,io_aRow,o_ChangedColumns); @@ -582,7 +582,7 @@ void ORowSetCache::updateValue(sal_Int32 columnIndex,const ORowSetValue& x { rInsert[columnIndex].setBound(true); rInsert[columnIndex] = x; - rInsert[columnIndex].setModified(); + rInsert[columnIndex].setModified(true); io_aRow[columnIndex] = rInsert[columnIndex]; m_xCacheSet->mergeColumnValues(columnIndex,rInsert,io_aRow,o_ChangedColumns); @@ -604,7 +604,7 @@ void ORowSetCache::updateCharacterStream( sal_Int32 columnIndex, const Reference ORowSetValueVector::Vector& rInsert = (*m_aInsertRow)->get(); rInsert[columnIndex].setBound(true); rInsert[columnIndex] = aSeq; - rInsert[columnIndex].setModified(); + rInsert[columnIndex].setModified(true); io_aRow[columnIndex] = makeAny(x); m_xCacheSet->mergeColumnValues(columnIndex,rInsert,io_aRow,o_ChangedColumns); @@ -625,7 +625,7 @@ void ORowSetCache::updateObject( sal_Int32 columnIndex, const Any& x { rInsert[columnIndex].setBound(true); rInsert[columnIndex] = aTemp; - rInsert[columnIndex].setModified(); + rInsert[columnIndex].setModified(true); io_aRow[columnIndex] = rInsert[columnIndex]; m_xCacheSet->mergeColumnValues(columnIndex,rInsert,io_aRow,o_ChangedColumns); @@ -647,7 +647,7 @@ void ORowSetCache::updateNumericObject( sal_Int32 columnIndex, const Any& x { rInsert[columnIndex].setBound(true); rInsert[columnIndex] = aTemp; - rInsert[columnIndex].setModified(); + rInsert[columnIndex].setModified(true); io_aRow[columnIndex] = rInsert[columnIndex]; m_xCacheSet->mergeColumnValues(columnIndex,rInsert,io_aRow,o_ChangedColumns); |