summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/crsr/findtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index def2a7529d72..75f49de135c3 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -266,7 +266,7 @@ lcl_CleanStr(const SwTextNode& rNd,
if ( bNewHint )
{
- if (pNextHint->HasDummyChar() && (nStart <= nStt))
+ if (pNextHint && pNextHint->HasDummyChar() && (nStart <= nStt))
{
switch (pNextHint->Which())
{