summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-13 11:21:13 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-14 16:18:05 +0200
commit9a3d8ed28dc44743b6715cd8bac39b55762cba11 (patch)
tree2755682e3e28998f7df4c2fa4fde1d7235e8c872 /vcl/source/helper
parentd26599c3e1dea940439985b46b727cfc22b37c38 (diff)
Replace usage of rtl/memory.h in vcl with equivalent from string.h
Change-Id: If8d460189c57f9c02923019e95bf47db1d96c716
Diffstat (limited to 'vcl/source/helper')
-rw-r--r--vcl/source/helper/canvasbitmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/helper/canvasbitmap.cxx b/vcl/source/helper/canvasbitmap.cxx
index d54240b9897d..849b0a6e22bf 100644
--- a/vcl/source/helper/canvasbitmap.cxx
+++ b/vcl/source/helper/canvasbitmap.cxx
@@ -520,7 +520,7 @@ uno::Sequence< sal_Int8 > SAL_CALL VclCanvasBitmap::getData( rendering::IntegerB
for( long y=aRequestedBytes.Top(); y<aRequestedBytes.Bottom(); ++y )
{
Scanline pScan = m_pBmpAcc->GetScanline(y);
- rtl_copyMemory(pOutBuf, pScan+aRequestedBytes.Left(), aRequestedBytes.getWidth());
+ memcpy(pOutBuf, pScan+aRequestedBytes.Left(), aRequestedBytes.getWidth());
pOutBuf += nScanlineStride;
}
}
@@ -605,7 +605,7 @@ uno::Sequence< sal_Int8 > SAL_CALL VclCanvasBitmap::getPixel( rendering::Integer
// can return bitmap data as-is
Scanline pScan = m_pBmpAcc->GetScanline(pos.Y);
- rtl_copyMemory(pOutBuf, pScan+nScanlineLeftOffset, aRet.getLength() );
+ memcpy(pOutBuf, pScan+nScanlineLeftOffset, aRet.getLength() );
}
else
{
@@ -629,7 +629,7 @@ uno::Sequence< sal_Int8 > SAL_CALL VclCanvasBitmap::getPixel( rendering::Integer
Scanline pScan = m_pBmpAcc->GetScanline(pos.Y);
// input integer multiple of byte - copy directly
- rtl_copyMemory(pOutBuf, pScan+nScanlineLeftOffset, nNonAlphaBytes );
+ memcpy(pOutBuf, pScan+nScanlineLeftOffset, nNonAlphaBytes );
pOutBuf += nNonAlphaBytes;
*pOutBuf++ = m_pAlphaAcc->GetPixel(pos.Y,pos.X);
}