Kaydet (Commit) 8c8de51c authored tarafından Kohei Yoshida's avatar Kohei Yoshida

I should check for NULL here.

Change-Id: I245f4a26c8fdee8230bb0af2963cae2739413253
üst aa68e130
...@@ -5237,7 +5237,7 @@ bool ScGridWindow::GetEditUrl( const Point& rPos, ...@@ -5237,7 +5237,7 @@ bool ScGridWindow::GetEditUrl( const Point& rPos,
if (pViewSh) if (pViewSh)
pInputHdl = pViewSh->GetInputHandler(); pInputHdl = pViewSh->GetInputHandler();
if (pInputHdl->IsInputMode()) if (pInputHdl && pInputHdl->IsInputMode())
{ {
EditView* pView = pInputHdl->GetTableView(); EditView* pView = pInputHdl->GetTableView();
return extractURLInfo(pView->GetFieldUnderMousePointer(), pName, pUrl, pTarget); return extractURLInfo(pView->GetFieldUnderMousePointer(), pName, pUrl, pTarget);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment