diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-16 16:07:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-17 23:20:45 +0100 |
commit | ba3ac5771366c0cecf0a6c39728f87dbf691fef6 (patch) | |
tree | eb9cae4142f304f0d008e8bd38feaee8b616cf64 /connectivity/source/drivers/dbase | |
parent | 7fff462959e50ee36b5410f3bf859af9f3e63c0d (diff) |
memcpy is of the same length as preceding memset
Diffstat (limited to 'connectivity/source/drivers/dbase')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 6e1c5d8d1ca7..b0304fa76e67 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1956,7 +1956,6 @@ sal_Bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, OValueRefRow pOrgRow,c aStr.Expand(static_cast<sal_uInt16>(nLen - aBlock.Len()), '0' ); aStr += aBlock; // Copy characters: - memset(pData,' ',nLen); // Clear to NULL memcpy(pData, aStr.GetBuffer(), nLen); } break; default: |