From ebce6f0bb7b0320391c1e3d9d54dd29014c5d39e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 29 Sep 2015 10:04:52 +0100 Subject: [PATCH] coverity#1325058 Dereference after null check Change-Id: I6290ab4a5951ada1588b9b7641b7e047cc82a9ee --- sc/source/ui/view/editsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();