From d86e9a3906b5c2c51a7a04dac0a63c9f74196991 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 11:47:36 +0100 Subject: Move OSL_ENSURE(false,...) to OSL_FAIL(...) --- unotools/source/config/configpathes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools/source/config/configpathes.cxx') diff --git a/unotools/source/config/configpathes.cxx b/unotools/source/config/configpathes.cxx index fd813d4c7a9a..5c35e112bad0 100644 --- a/unotools/source/config/configpathes.cxx +++ b/unotools/source/config/configpathes.cxx @@ -98,7 +98,7 @@ sal_Bool splitLastFromConfigurationPath(OUString const& _sInPath, // strip trailing slash if (nPos > 0 && _sInPath[ nPos ] == sal_Unicode('/')) { - OSL_ENSURE(false, "Invalid config path: trailing '/' is not allowed"); + OSL_FAIL("Invalid config path: trailing '/' is not allowed"); --nPos; } -- cgit v1.2.3