summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 15:20:36 +0200
committerNoel Grandin <noel@peralex.com>2014-02-17 14:04:33 +0200
commit939e23d18d8060a155bd9b3a38b66b0d20b8c034 (patch)
treee755c34abed4dd4e08f64f62350d61ead032abd5 /sd
parent4f430d7a925b8e3bdd24c284e398628e2b929098 (diff)
cid#705877 dereference before null check
Change-Id: I78d51802fa5709d1aaccb3a73929b39bf75b4219
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index b0131280896b..723bb2d4cec9 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -72,7 +72,7 @@ void DrawViewShell::ExecFormText(SfxRequest& rReq)
const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() &&
- mpDrawView && !mpDrawView->IsPresObjSelected() )
+ !mpDrawView->IsPresObjSelected() )
{
const SfxItemSet& rSet = *rReq.GetArgs();