From dc2d434687f701884f7c11e130669f63fb606074 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 14 Jun 2013 13:23:42 +0300 Subject: s/rtl_copyMemory/memmove Change-Id: Iead9b7ee98a11ad5a9916d6e176c8938378b817a --- vcl/aqua/source/dtrans/PictToBmpFlt.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/aqua') diff --git a/vcl/aqua/source/dtrans/PictToBmpFlt.cxx b/vcl/aqua/source/dtrans/PictToBmpFlt.cxx index 61cb721bed2c..3d5c3a73c0c8 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& 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& 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 -- cgit