give useful details in non-debug mode too

Change-Id: I5a3be096ad4417735254abb387b21029e636f5b8
This commit is contained in:
Caolán McNamara
2015-11-27 10:34:28 +00:00
parent d764100d62
commit 759eb79d88

View File

@@ -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(