summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-22 16:36:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-22 16:36:02 +0000
commit754fe6fa053ee03e44237d626667291fd884423a (patch)
tree68185f8fba4cba983459ec1e8755461edc424c29 /sd
parentf2aac4fdacd670c7c4eeb2b7e132bc69ebc3ac61 (diff)
coverity#705873 Dereference before null check
Change-Id: I50a2642d754324e49d265c9eff13233fd181b75b
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drtxtob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index edb0736310da..0d48df45586c 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -390,7 +390,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
case SID_THES:
{
- if( mpView && mpView->GetTextEditOutlinerView() )
+ if (mpView->GetTextEditOutlinerView())
{
EditView & rEditView = mpView->GetTextEditOutlinerView()->GetEditView();
OUString aStatusVal;