diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 612a97cb2209..cea27bd9109e 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -4134,16 +4134,17 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* pState, pActiveViewSh->libreOfficeKitViewCallback(LOK_CALLBACK_CELL_ADDRESS, aPosStr.toUtf8().getStr()); } - if (bStopEditing) + if (bStopEditing) { SfxGetpApp()->Broadcast( SfxHint( SfxHintId::ScKillEditView ) ); - // As long as the content is not edited, turn off online spelling. - // Online spelling is turned back on in StartTable, after setting - // the right language from cell attributes. + // As long as the content is not edited, turn off online spelling. + // Online spelling is turned back on in StartTable, after setting + // the right language from cell attributes. - EEControlBits nCntrl = mpEditEngine->GetControlWord(); - if ( nCntrl & EEControlBits::ONLINESPELLING ) - mpEditEngine->SetControlWord( nCntrl & ~EEControlBits::ONLINESPELLING ); + EEControlBits nCntrl = mpEditEngine->GetControlWord(); + if ( nCntrl & EEControlBits::ONLINESPELLING ) + mpEditEngine->SetControlWord( nCntrl & ~EEControlBits::ONLINESPELLING ); + } bModified = false; bSelIsRef = false; |