summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/access/accpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/accpage.cxx b/sw/source/core/access/accpage.cxx
index 91a7e3f0d58b..68908380ed7b 100644
--- a/sw/source/core/access/accpage.cxx
+++ b/sw/source/core/access/accpage.cxx
@@ -113,9 +113,9 @@ SwAccessiblePage::SwAccessiblePage(std::shared_ptr<SwAccessibleMap> const& pInit
: SwAccessibleContext( pInitMap, AccessibleRole::PANEL, pFrame )
, bIsSelected( false )
{
- OSL_ENSURE( pFrame != nullptr, "need frame" );
- OSL_ENSURE( pInitMap != nullptr, "need map" );
- OSL_ENSURE( pFrame->IsPageFrame(), "need page frame" );
+ assert(pFrame != nullptr);
+ assert(pInitMap != nullptr);
+ assert(pFrame->IsPageFrame());
OUString sPage = OUString::number(
static_cast<const SwPageFrame*>( GetFrame() )->GetPhyPageNum() );