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) ...@@ -487,23 +487,11 @@ Sequence< Any > ConfigItem::GetProperties(const Sequence< OUString >& rNames)
} }
catch (const Exception& rEx) catch (const Exception& rEx)
{ {
#if OSL_DEBUG_LEVEL > 0 SAL_WARN(
OString sMsg("XHierarchicalNameAccess: "); "unotools.config",
sMsg += OString(rEx.Message.getStr(), "ignoring XHierarchicalNameAccess to /org.openoffice."
rEx.Message.getLength(), << sSubTree << "/" << pNames[i] << " Exception: "
RTL_TEXTENCODING_ASCII_US); << rEx.Message);
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
} }
} }
......
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