diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 11:04:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 12:34:13 +0100 |
commit | 051d45a59d9e43634e152b8f4f0bf0193561db12 (patch) | |
tree | 0e21bb6063a5f1d4818e4d7563d8ddd4bb80b0b4 /sd | |
parent | c27a31710813ef0d44f8c1059177104c6996f2d9 (diff) |
coverity#1213293 Dereference before null check
Change-Id: If2dd3cb1c7e18bf0274551950bc33f7521e0f8e1
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index ba7d1a0e67da..c8e262a61125 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1364,8 +1364,7 @@ void Outliner::EnterEditMode (bool bGrabFocus) mpView->UnmarkAllObj (pPV); mpView->MarkObj (mpTextObj, pPV); - if( mpTextObj ) - mpTextObj->setActiveText( mnText ); + mpTextObj->setActiveText( mnText ); // Turn on the edit mode for the text object. mpView->SdrBeginTextEdit(mpTextObj, pPV, mpWindow, true, this, pOutlinerView, true, true, bGrabFocus); |