coverity#1325058 Dereference after null check

Change-Id: I6290ab4a5951ada1588b9b7641b7e047cc82a9ee
This commit is contained in:
Caolán McNamara 2015-09-29 10:04:52 +01:00
parent 41df45af6a
commit ebce6f0bb7

View File

@ -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();