summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-29 10:04:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-29 11:10:30 +0100
commitebce6f0bb7b0320391c1e3d9d54dd29014c5d39e (patch)
treeefb33eeecd3c5909e73d1f5aab813d1c8e95768c /sc/source/ui/view
parent41df45af6ae710c0dc6077b2e232f36d561fe975 (diff)
coverity#1325058 Dereference after null check
Change-Id: I6290ab4a5951ada1588b9b7641b7e047cc82a9ee
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/editsh.cxx2
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();