[Libreoffice-commits] .: sc/source

Noel Power noelp at kemper.freedesktop.org
Sun Dec 11 17:00:34 PST 2011


 sc/source/ui/app/inputwin.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit bee8375b7205d4a468a2d3a928249e7923b2147a
Author: Noel Power <noel.power at novell.com>
Date:   Mon Dec 12 00:59:52 2011 +0000

    double check pEditView ( appears some re-entrency foo can zap it )

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 2983c44..649050b 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()


More information about the Libreoffice-commits mailing list