summaryrefslogtreecommitdiff
path: root/basegfx/inc
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-09-29 14:47:11 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-01 18:48:05 +0000
commit36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 (patch)
tree838cdec72aeea68c3ad78f8d18535afd5408d43a /basegfx/inc
parent053b68a0c7b75eae7d86d4465f65abc6046515ee (diff)
Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'basegfx/inc')
-rw-r--r--basegfx/inc/basegfx/raster/bpixelraster.hxx3
-rw-r--r--basegfx/inc/basegfx/raster/bzpixelraster.hxx5
2 files changed, 3 insertions, 5 deletions
diff --git a/basegfx/inc/basegfx/raster/bpixelraster.hxx b/basegfx/inc/basegfx/raster/bpixelraster.hxx
index 6f3379546385..9d95b3f40769 100644
--- a/basegfx/inc/basegfx/raster/bpixelraster.hxx
+++ b/basegfx/inc/basegfx/raster/bpixelraster.hxx
@@ -32,7 +32,6 @@
#include <algorithm>
#include <sal/types.h>
#include <basegfx/pixel/bpixel.hxx>
-#include <rtl/memory.h>
#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -59,7 +58,7 @@ namespace basegfx
// reset
void reset()
{
- rtl_zeroMemory(mpContent, sizeof(BPixel) * mnCount);
+ memset(mpContent, 0, sizeof(BPixel) * mnCount);
}
// constructor/destructor
diff --git a/basegfx/inc/basegfx/raster/bzpixelraster.hxx b/basegfx/inc/basegfx/raster/bzpixelraster.hxx
index 2f161b687144..a3e1db61d087 100644
--- a/basegfx/inc/basegfx/raster/bzpixelraster.hxx
+++ b/basegfx/inc/basegfx/raster/bzpixelraster.hxx
@@ -30,7 +30,6 @@
#define _BGFX_RASTER_BZPIXELRASTER_HXX
#include <basegfx/raster/bpixelraster.hxx>
-#include <rtl/memory.h>
#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -51,7 +50,7 @@ namespace basegfx
void resetZ()
{
reset();
- rtl_zeroMemory(mpZBuffer, sizeof(sal_uInt16) * mnCount);
+ memset(mpZBuffer, 0, sizeof(sal_uInt16) * mnCount);
}
// constructor/destructor
@@ -59,7 +58,7 @@ namespace basegfx
: BPixelRaster(nWidth, nHeight),
mpZBuffer(new sal_uInt16[mnCount])
{
- rtl_zeroMemory(mpZBuffer, sizeof(sal_uInt16) * mnCount);
+ memset(mpZBuffer, 0, sizeof(sal_uInt16) * mnCount);
}
~BZPixelRaster()