diff options
author | Noel Power <noel.power@novell.com> | 2011-12-12 00:59:52 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-12-12 01:01:15 +0000 |
commit | bee8375b7205d4a468a2d3a928249e7923b2147a (patch) | |
tree | 1d379d63fd936859c068ec3361f9251c51404f9e /sc | |
parent | a298986d627b944eb94fdd8b0c30a9298f14ab65 (diff) |
double check pEditView ( appears some re-entrency foo can zap it )
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 4 |
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() |