summaryrefslogtreecommitdiffstats
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-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()