summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-27 10:34:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-27 10:54:30 +0000
commit759eb79d886b70c7e7ab86b48e63d1b627b7dc44 (patch)
treefa21654226929ffbbca8df72cd348f0fc32673aa /codemaker
parentd764100d620ab8331a8d6bb80984ace09ec65b5c (diff)
give useful details in non-debug mode too
Change-Id: I5a3be096ad4417735254abb387b21029e636f5b8
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx6
1 files changed, 2 insertions, 4 deletions
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(