Kaydet (Commit) 7f67dd5d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

OSL_FAIL -> SAL_WARN

Change-Id: If0c4dce547184ca48f221793daf33e4592912cb2
üst 1de20e76
......@@ -487,23 +487,11 @@ Sequence< Any > ConfigItem::GetProperties(const Sequence< OUString >& rNames)
}
catch (const Exception& rEx)
{
#if OSL_DEBUG_LEVEL > 0
OString sMsg("XHierarchicalNameAccess: ");
sMsg += OString(rEx.Message.getStr(),
rEx.Message.getLength(),
RTL_TEXTENCODING_ASCII_US);
sMsg += OString("\n/org.openoffice.");
sMsg += OString(sSubTree.getStr(),
sSubTree.getLength(),
RTL_TEXTENCODING_ASCII_US);
sMsg += OString("/");
sMsg += OString(pNames[i].getStr(),
pNames[i].getLength(),
RTL_TEXTENCODING_ASCII_US);
OSL_FAIL(sMsg.getStr());
#else
(void) rEx; // avoid warning
#endif
SAL_WARN(
"unotools.config",
"ignoring XHierarchicalNameAccess to /org.openoffice."
<< sSubTree << "/" << pNames[i] << " Exception: "
<< rEx.Message);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment