summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-09 10:24:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-09 10:44:22 +0100
commit7263f4bb20727b9ea598e0aa83f0f6d13c04e403 (patch)
treec2ba21f75d861cb436d1f0cbe2cd57894c35c29a /sc
parent1612a8e87b102e435c87240d8374962ee1dc5579 (diff)
coverity#1209709 Dereference null return value
Change-Id: Ic5cf8a5f52a7219f32ec2ce9259e5aa0153da9bb
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/scmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 4a3c6c94f3bc..203b82fc6c55 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -1893,7 +1893,7 @@ void ScModule::EndReference()
pRefDlg->SetActive();
}
}
- else
+ else if (pModalDlg)
pModalDlg->SetActive();
}
}