diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-10-25 10:15:39 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-10-26 19:12:21 +0200 |
commit | 41e11da6008f046d0f3f3705939775d8bcd6e712 (patch) | |
tree | 01c03e9b65dd2dfeda4a4d598ca9f10def003c07 /connectivity | |
parent | dbase::ODbaseTable::WriteMemo does not change its ORowSetValue& argument (diff) | |
download | core-41e11da6008f046d0f3f3705939775d8bcd6e712.tar.gz core-41e11da6008f046d0f3f3705939775d8bcd6e712.zip |
improve comments
Change-Id: I50c64d5fcf1d642052be5edbe64dde2c03c1eba9
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 078d630e0bf4..dee73fa71cb3 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1838,9 +1838,9 @@ sal_Bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, OValueRefRow pOrgRow,c if (rRow.get()[nPos]->getValue().isNull()) { if ( bSetZero ) - memset(pData,0,nLen); // Clear to NULL + memset(pData,0,nLen); // Clear to NULL char ('\0') else - memset(pData,' ',nLen); // Clear to NULL + memset(pData,' ',nLen); // Clear to space/blank ('\0x20') nByteOffset += nLen; OSL_ENSURE( nByteOffset <= m_nBufferSize ,"ByteOffset > m_nBufferSize!"); continue; |