diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-30 09:13:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-30 09:46:16 +0100 |
commit | 4523dd0544d762961435429167e41a0834b60cea (patch) | |
tree | 56a642851053dbb73cc8e383ac29411382d6cc8b /sw/source/core/layout/layouter.cxx | |
parent | 390ec50cbe3e0b8c15db6504b5bdd36dc3f3fb61 (diff) |
Called C++ object pointer is null
Change-Id: I88efc4be6ff869ef97a2b398d43f7b7914debfc6
Diffstat (limited to 'sw/source/core/layout/layouter.cxx')
-rw-r--r-- | sw/source/core/layout/layouter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx index b485c84c9094..6dcbc8987b4e 100644 --- a/sw/source/core/layout/layouter.cxx +++ b/sw/source/core/layout/layouter.cxx @@ -280,7 +280,7 @@ void SwLayouter::EndLoopControl() void SwLayouter::CollectEndnotes( SwDoc* pDoc, SwSectionFrm* pSect ) { - OSL_ENSURE( pDoc, "No doc, no fun" ); + assert(pDoc && "No doc, no fun"); if( !pDoc->GetLayouter() ) pDoc->SetLayouter( new SwLayouter() ); pDoc->GetLayouter()->_CollectEndnotes( pSect ); |