summaryrefslogtreecommitdiff
path: root/tools/source/string/tstring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/string/tstring.cxx')
-rw-r--r--tools/source/string/tstring.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx
index 8a0ecb8a8529..10b9cef09965 100644
--- a/tools/source/string/tstring.cxx
+++ b/tools/source/string/tstring.cxx
@@ -165,7 +165,7 @@ float ByteString::ToFloat() const
{
DBG_CHKTHIS( ByteString, DbgCheckByteString );
- OSL_ENSURE(false, "ByteString::ToFloat unusable");
+ OSL_FAIL("ByteString::ToFloat unusable");
return 0;
}
@@ -175,7 +175,7 @@ double ByteString::ToDouble() const
{
DBG_CHKTHIS( ByteString, DbgCheckByteString );
- OSL_ENSURE(false, "ByteString::ToDouble unusable");
+ OSL_FAIL("ByteString::ToDouble unusable");
return 0;
}