diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:08:45 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:12:34 +0100 |
commit | df07d391d83966cf2369ac7fec8d0b88cbe49bcf (patch) | |
tree | dfba6829252f68ebb66a4aeffb04196ff81f6498 /sw/inc/dcontact.hxx | |
parent | 228904385d4b23962361bbd2753a46256fba1ad9 (diff) |
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds
* This needed to change all the sw local ASSERT to OSL_ENSURE...
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()); |