diff options
Diffstat (limited to 'sw/inc/dcontact.hxx')
-rw-r--r-- | sw/inc/dcontact.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index dfa869a155..2547b1631b 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -182,7 +182,7 @@ public: // about the object (Writer fly frame resp. drawing object) const SwFmtAnchor& GetAnchorFmt() const { - ASSERT( GetFmt(), + OSL_ENSURE( GetFmt(), "<SwContact::GetAnchorFmt()> - no frame format -> crash" ); return GetFmt()->GetAnchor(); @@ -197,7 +197,7 @@ public: const SwPosition& GetCntntAnchor() const { - ASSERT( GetAnchorFmt().GetCntntAnchor(), + OSL_ENSURE( GetAnchorFmt().GetCntntAnchor(), "<SwContact::GetCntntAnchor()> - no content anchor -> crash" ); return *(GetAnchorFmt().GetCntntAnchor()); |