Kaydet (Commit) dc2d4346 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

s/rtl_copyMemory/memmove

Change-Id: Iead9b7ee98a11ad5a9916d6e176c8938378b817a
üst f31d4ad9
......@@ -63,7 +63,7 @@ bool PICTtoPNG( com::sun::star::uno::Sequence<sal_Int8>& rPictData,
rPngData.realloc( nPngSize);
HLock( hPng);
rtl_copyMemory( rPngData.getArray(), ((sal_Int8*)*hPng), nPngSize);
memmove( rPngData.getArray(), ((sal_Int8*)*hPng), nPngSize);
HUnlock( hPng);
}
......@@ -120,7 +120,7 @@ bool PNGtoPICT( com::sun::star::uno::Sequence<sal_Int8>& rPngData,
rPictData.realloc( nPictSize);
HLock( (Handle)hPict);
rtl_copyMemory( rPictData.getArray(), ((sal_Int8*)*hPict), nPictSize);
memmove( rPictData.getArray(), ((sal_Int8*)*hPict), nPictSize);
HUnlock( (Handle)hPict);
// Release the data associated with the picture
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment