diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-29 10:04:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-29 11:10:30 +0100 |
commit | ebce6f0bb7b0320391c1e3d9d54dd29014c5d39e (patch) | |
tree | efb33eeecd3c5909e73d1f5aab813d1c8e95768c | |
parent | 41df45af6ae710c0dc6077b2e232f36d561fe975 (diff) |
coverity#1325058 Dereference after null check
Change-Id: I6290ab4a5951ada1588b9b7641b7e047cc82a9ee
-rw-r--r-- | sc/source/ui/view/editsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |