summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/confignode.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx
index 4b1b9fe272db..9ba3f642c328 100644
--- a/unotools/source/config/confignode.cxx
+++ b/unotools/source/config/confignode.cxx
@@ -145,7 +145,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
@@ -323,8 +322,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!");
}
//------------------------------------------------------------------------