diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx index c225286e22ab..9b1f66c009b4 100644 --- a/sc/source/ui/view/editsh.cxx +++ b/sc/source/ui/view/editsh.cxx @@ -334,7 +334,7 @@ void ScEditShell::Execute( SfxRequest& rReq ) return; case SID_UNICODE_NOTATION_TOGGLE: { - EditView* pActiveView = pHdl ? pHdl->GetActiveView() : pEditView; + EditView* pActiveView = pHdl->GetActiveView(); if( pActiveView ) { OUString sInput = pEngine->GetText();