summaryrefslogtreecommitdiff
path: root/canvas/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:47:36 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:19:17 +0100
commitd86e9a3906b5c2c51a7a04dac0a63c9f74196991 (patch)
tree6edeb296b93516795e8159f8c2ee04c544cc1874 /canvas/inc
parente6216e1ce6b399a10019b5d11b6fef6961fc0f74 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'canvas/inc')
-rw-r--r--canvas/inc/canvas/canvastools.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/canvas/inc/canvas/canvastools.hxx b/canvas/inc/canvas/canvastools.hxx
index 215209f4b0da..30cb614e1a62 100644
--- a/canvas/inc/canvas/canvastools.hxx
+++ b/canvas/inc/canvas/canvastools.hxx
@@ -565,7 +565,7 @@ namespace canvas
{
OSL_TRACE("ValueMap::ValueMap(): Key %s is not lowercase",
pMap->maKey);
- OSL_ENSURE( false, "ValueMap::ValueMap(): Key is not lowercase" );
+ OSL_FAIL( "ValueMap::ValueMap(): Key is not lowercase" );
}
if( mnEntries > 1 )
@@ -578,8 +578,7 @@ namespace canvas
OSL_TRACE("ValueMap::ValueMap(): Map is not sorted, keys %s and %s are wrong",
pMap[0].maKey,
pMap[1].maKey);
- OSL_ENSURE( false,
- "ValueMap::ValueMap(): Map is not sorted" );
+ OSL_FAIL( "ValueMap::ValueMap(): Map is not sorted" );
}
const ::rtl::OString aStr2( pMap[1].maKey );
@@ -588,7 +587,7 @@ namespace canvas
{
OSL_TRACE("ValueMap::ValueMap(): Key %s is not lowercase",
pMap[1].maKey);
- OSL_ENSURE( false, "ValueMap::ValueMap(): Key is not lowercase" );
+ OSL_FAIL( "ValueMap::ValueMap(): Key is not lowercase" );
}
}
}