Kaydet (Commit) 2c23c6fc authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Spell check context can be NULL (when the live spell check is not on).

Change-Id: I785f83b5c2c6329b7a18af9f9721c06894207ea5
üst b3e35aa5
...@@ -2979,7 +2979,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt ) ...@@ -2979,7 +2979,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt )
sal_Bool bDone = false; sal_Bool bDone = false;
sal_Bool bEdit = pViewData->HasEditView(eWhich); sal_Bool bEdit = pViewData->HasEditView(eWhich);
bool bSpellError = mpSpellCheckCxt->isMisspelled(nCellX, nCellY); bool bSpellError = (mpSpellCheckCxt && mpSpellCheckCxt->isMisspelled(nCellX, nCellY));
if ( !bEdit ) if ( !bEdit )
{ {
......
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