diff options
-rw-r--r-- | vcl/aqua/source/dtrans/PictToBmpFlt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<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 |