diff options
author | sb <sb@openoffice.org> | 2009-07-02 14:11:41 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-07-02 14:11:41 +0200 |
commit | 735726b2a9873914ccb54657861434800f1cb6f9 (patch) | |
tree | 23bae5d3ef42a0dba288102cbdfd481f671a7757 /unotools | |
parent | 9df471d00ffa5759535ecd145ba437819322e37f (diff) |
#i101955# XStringEscape is optional, so should not trigger OSL_ENUSREs
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/confignode.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index 56d0b1b06118..a5114320f4a5 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -150,7 +150,6 @@ namespace utl if (getEscape()) { Reference< XStringEscape > xEscaper(m_xDirectAccess, UNO_QUERY); - OSL_ENSURE(xEscaper.is(), "OConfigurationNode::normalizeName: missing an interface!"); if (xEscaper.is() && sName.getLength()) { try @@ -328,8 +327,6 @@ namespace utl void OConfigurationNode::setEscape(sal_Bool _bEnable) { m_bEscapeNames = _bEnable && Reference< XStringEscape >::query(m_xDirectAccess).is(); - OSL_ENSURE(m_bEscapeNames || !_bEnable, - "OConfigurationNode::setEscape: escaping not enabled - missing the appropriate interface on the node!"); } //------------------------------------------------------------------------ |