summaryrefslogtreecommitdiff
path: root/ucb/source/regexp/regexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/regexp/regexp.cxx')
-rw-r--r--ucb/source/regexp/regexp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/regexp/regexp.cxx b/ucb/source/regexp/regexp.cxx
index a315fbde4631..94ca028af92a 100644
--- a/ucb/source/regexp/regexp.cxx
+++ b/ucb/source/regexp/regexp.cxx
@@ -45,9 +45,9 @@ inline Regexp::Regexp(Kind eTheKind, OUString const & rThePrefix,
m_bEmptyDomain(bTheEmptyDomain),
m_bTranslation(bTheTranslation)
{
- assert(m_eKind == KIND_DOMAIN
+ OSL_ASSERT(m_eKind == KIND_DOMAIN
|| (!m_bEmptyDomain && m_aInfix.isEmpty()));
- assert(m_bTranslation || m_aReversePrefix.isEmpty());
+ OSL_ASSERT(m_bTranslation || m_aReversePrefix.isEmpty());
}
@@ -153,7 +153,7 @@ bool isScheme(OUString const & rString, bool bColon)
void appendStringLiteral(OUStringBuffer * pBuffer,
OUString const & rString)
{
- assert(pBuffer);
+ OSL_ASSERT(pBuffer);
pBuffer->append('"');
sal_Unicode const * p = rString.getStr();