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 /vcl/source/edit | |
parent | 390ec50cbe3e0b8c15db6504b5bdd36dc3f3fb61 (diff) |
Called C++ object pointer is null
Change-Id: I88efc4be6ff869ef97a2b398d43f7b7914debfc6
Diffstat (limited to 'vcl/source/edit')
-rw-r--r-- | vcl/source/edit/texteng.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index 660df5adeee0..65feb242e8af 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -1092,7 +1092,8 @@ sal_uInt16 TextEngine::ImpFindIndex( sal_uLong nPortion, const Point& rPosInPara break; // correct Y-Position not needed } } - DBG_ASSERT( pLine, "ImpFindIndex: pLine ?" ); + + assert(pLine && "ImpFindIndex: pLine ?"); nCurIndex = GetCharPos( nPortion, nLine, rPosInPara.X(), bSmart ); |