summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-12-12 00:59:52 +0000
committerNoel Power <noel.power@novell.com>2011-12-12 01:04:33 +0000
commit1b28a657678f2cc64861030cbe3bea13d1bebd95 (patch)
treef8886ebf2e090683a5b0ab37164ed3ae3a126592 /sc
parent445d348837aca032b81edc92a23fee128758ee0f (diff)
double check pEditView ( appears some re-entrency foo can zap it )
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 2983c441b546..649050b4eaa5 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1111,7 +1111,9 @@ ScMultiTextWnd::~ScMultiTextWnd()
void ScMultiTextWnd::Paint( const Rectangle& rRec )
{
- GetEditView()->Paint( rRec );
+ EditView* pView = GetEditView();
+ if ( pView )
+ pView->Paint( rRec );
}
EditView* ScMultiTextWnd::GetEditView()