diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 2b709a98c157..758aef20670c 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1435,7 +1435,7 @@ ErrCode UcbLockBytes::ReadAt ( sal_uLong nPos, void *pBuffer, sal_uLong nCount, return ERRCODE_IO_CANTREAD; } - rtl_copyMemory (pBuffer, aData.getConstArray(), nSize); + memcpy (pBuffer, aData.getConstArray(), nSize); if (pRead) *pRead = sal_uLong(nSize); |