summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-16 20:56:16 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-16 20:56:56 -0400
commit8c8de51cc954aaae07f76732e6202398e33afeb7 (patch)
tree0416df718a6fc38c2f47bc00d7e6b7bbc8debf4a /sc
parentaa68e1309450f79d1b40545ad6c340a49eff51c6 (diff)
I should check for NULL here.
Change-Id: I245f4a26c8fdee8230bb0af2963cae2739413253
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index ff7693dc758d..4c408bd65fb6 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);