From 759eb79d886b70c7e7ab86b48e63d1b627b7dc44 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 27 Nov 2015 10:34:28 +0000 Subject: give useful details in non-debug mode too Change-Id: I5a3be096ad4417735254abb387b21029e636f5b8 --- codemaker/source/cppumaker/cpputype.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'codemaker') diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index e4f6fa8b5a8e..bd7414942edf 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -3446,11 +3446,9 @@ static OUString failsToSupply(const OUString& name_, const OString& baseName) { return OUString( "\n" - "#if OSL_DEBUG_LEVEL > 0\n" + "\n" " ::rtl::OUString(\"component context fails to supply service '" + name_ + "' of type '" + OStringToOUString(baseName, RTL_TEXTENCODING_UTF8) + "'\")\n" - "#else\n" - " ::rtl::OUString(\"service not supplied\")\n" - "#endif\n"); + "\n"); } void ServiceType::dumpHxxFile( -- cgit