summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/brwbox/brwbox1.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index d2da96c815f9..cb582cc49085 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -179,6 +179,8 @@ short BrowseBox::GetCursorHideCount() const
void BrowseBox::DoShowCursor( const char * )
{
+ if (!getDataWindow())
+ return;
short nHiddenCount = --getDataWindow()->nCursorHidden;
if (PaintCursorIfHiddenOnce())
{