dbaccess/source/core/api/KeySet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1f7af80f020a9114d7b6b4014a4ebb71cb81d8a1 Author: Lionel Elie Mamane <[email protected]> Date: Mon Mar 21 16:11:45 2016 +0100 off-by-one error: columns are numbered from one, but the array from 0 Change-Id: I14ef451999fa1f9d57757a9e231fc66be4e53f3a Reviewed-on: https://gerrit.libreoffice.org/23406 Tested-by: Jenkins <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index 6b2400e..58be2f2 100644 --- a/dbaccess/source/core/api/KeySet.cxx +++ b/dbaccess/source/core/api/KeySet.cxx @@ -944,7 +944,7 @@ void OKeySet::copyRowValue(const ORowSetRow& _rInsertRow,ORowSetRow& _rKeyRow,sa for(sal_Int32 i = 1;aParaIter != aParaEnd;++aParaIter,++aParaValuesIter,++i) { ORowSetValue aValue(*aParaValuesIter); - aValue.setSigned(m_aSignedFlags[aParaIter->second.nPosition]); + aValue.setSigned(m_aSignedFlags[aParaIter->second.nPosition-1]); if ( (_rInsertRow->get())[aParaIter->second.nPosition] != aValue ) { ORowSetValueVector aCopy(m_aParameterValueForCache); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
