diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:47:36 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:19:17 +0100 |
commit | d86e9a3906b5c2c51a7a04dac0a63c9f74196991 (patch) | |
tree | 6edeb296b93516795e8159f8c2ee04c544cc1874 /basegfx/inc | |
parent | Remove now unused DBG_TRACE[1-5] and DBG_TRACEFILE (diff) | |
download | core-d86e9a3906b5c2c51a7a04dac0a63c9f74196991.tar.gz core-d86e9a3906b5c2c51a7a04dac0a63c9f74196991.zip |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'basegfx/inc')
-rw-r--r-- | basegfx/inc/basegfx/raster/bpixelraster.hxx | 4 | ||||
-rw-r--r-- | basegfx/inc/basegfx/raster/bzpixelraster.hxx | 4 |
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 |