diff options
Diffstat (limited to 'unoxml/source/dom/attr.cxx')
-rw-r--r-- | unoxml/source/dom/attr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx index 64ccfd51e276..39cb53230c9a 100644 --- a/unoxml/source/dom/attr.cxx +++ b/unoxml/source/dom/attr.cxx @@ -217,7 +217,7 @@ namespace DOM if (!m_aNodePtr) { return; } if (m_pNamespace.get()) { - assert(!m_aNodePtr->parent); + OSL_ASSERT(!m_aNodePtr->parent); m_pNamespace->second = OUStringToOString(prefix, RTL_TEXTENCODING_UTF8); } else { @@ -232,7 +232,7 @@ namespace DOM if (!m_aNodePtr) { return OUString(); } if (m_pNamespace.get()) { - assert(!m_aNodePtr->parent); + OSL_ASSERT(!m_aNodePtr->parent); OUString const ret(OStringToOUString( m_pNamespace->second, RTL_TEXTENCODING_UTF8)); return ret; @@ -248,7 +248,7 @@ namespace DOM if (!m_aNodePtr) { return OUString(); } if (m_pNamespace.get()) { - assert(!m_aNodePtr->parent); + OSL_ASSERT(!m_aNodePtr->parent); OUString const ret(OStringToOUString( m_pNamespace->first, RTL_TEXTENCODING_UTF8)); return ret; |