summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/inc/basegfx')
-rw-r--r--basegfx/inc/basegfx/raster/bpixelraster.hxx4
-rw-r--r--basegfx/inc/basegfx/raster/bzpixelraster.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/inc/basegfx/raster/bpixelraster.hxx b/basegfx/inc/basegfx/raster/bpixelraster.hxx
index b479384bb806..e5615325cf0d 100644
--- a/basegfx/inc/basegfx/raster/bpixelraster.hxx
+++ b/basegfx/inc/basegfx/raster/bpixelraster.hxx
@@ -92,7 +92,7 @@ namespace basegfx
#ifdef DBG_UTIL
if(nIndex >= mnCount)
{
- OSL_ENSURE(false, "getBPixel: Access out of range (!)");
+ OSL_FAIL("getBPixel: Access out of range (!)");
return BPixel::getEmptyBPixel();
}
#endif
@@ -105,7 +105,7 @@ namespace basegfx
#ifdef DBG_UTIL
if(nIndex >= mnCount)
{
- OSL_ENSURE(false, "getBPixel: Access out of range (!)");
+ OSL_FAIL("getBPixel: Access out of range (!)");
return mpContent[0L];
}
#endif
diff --git a/basegfx/inc/basegfx/raster/bzpixelraster.hxx b/basegfx/inc/basegfx/raster/bzpixelraster.hxx
index 9e3cd6db36f1..b849f2491289 100644
--- a/basegfx/inc/basegfx/raster/bzpixelraster.hxx
+++ b/basegfx/inc/basegfx/raster/bzpixelraster.hxx
@@ -72,7 +72,7 @@ namespace basegfx
#ifdef DBG_UTIL
if(nIndex >= mnCount)
{
- OSL_ENSURE(false, "getZ: Access out of range (!)");
+ OSL_FAIL("getZ: Access out of range (!)");
return mpZBuffer[0L];
}
#endif
@@ -85,7 +85,7 @@ namespace basegfx
#ifdef DBG_UTIL
if(nIndex >= mnCount)
{
- OSL_ENSURE(false, "getZ: Access out of range (!)");
+ OSL_FAIL("getZ: Access out of range (!)");
return mpZBuffer[0L];
}
#endif