vcl/aqua/source/dtrans/PictToBmpFlt.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit dc2d434687f701884f7c11e130669f63fb606074 Author: Tor Lillqvist <t...@iki.fi> Date: Fri Jun 14 13:23:42 2013 +0300 s/rtl_copyMemory/memmove Change-Id: Iead9b7ee98a11ad5a9916d6e176c8938378b817a diff --git a/vcl/aqua/source/dtrans/PictToBmpFlt.cxx b/vcl/aqua/source/dtrans/PictToBmpFlt.cxx index 61cb721..3d5c3a7 100644 --- a/vcl/aqua/source/dtrans/PictToBmpFlt.cxx +++ b/vcl/aqua/source/dtrans/PictToBmpFlt.cxx @@ -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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits