diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-23 19:00:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-23 19:00:52 +0200 |
commit | 7f67dd5dfae59a492a88fb2569ee5600add1ecde (patch) | |
tree | 6948bb4bc5246845f4a0d0e70fe01496f101b59a /unotools | |
parent | 1de20e764ed64beed83bb455b6bdbc9fbebed0a3 (diff) |
OSL_FAIL -> SAL_WARN
Change-Id: If0c4dce547184ca48f221793daf33e4592912cb2
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configitem.cxx | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 228fc5d9c402..3403140c7bbb 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -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); } } |