[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Fri May 16 17:56:40 PDT 2014
sc/source/ui/view/gridwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8c8de51cc954aaae07f76732e6202398e33afeb7
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Fri May 16 20:56:16 2014 -0400
I should check for NULL here.
Change-Id: I245f4a26c8fdee8230bb0af2963cae2739413253
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index ff7693d..4c408bd 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5237,7 +5237,7 @@ bool ScGridWindow::GetEditUrl( const Point& rPos,
if (pViewSh)
pInputHdl = pViewSh->GetInputHandler();
- if (pInputHdl->IsInputMode())
+ if (pInputHdl && pInputHdl->IsInputMode())
{
EditView* pView = pInputHdl->GetTableView();
return extractURLInfo(pView->GetFieldUnderMousePointer(), pName, pUrl, pTarget);
More information about the Libreoffice-commits
mailing list