summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-04 11:02:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-04 12:34:13 +0100
commitf750ee1d70fb445f14023187b442191ee079c3b4 (patch)
tree99587ccb9317623d750a0533670c4f267abe469c /sd
parent45ba4d79d968f81f74ef0c4588fd15b1ce91153f (diff)
coverity#705873 Dereference before null check
Change-Id: Ife67ce102df4dfadd3483a3c137bd767c13b3c26
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 88dc2aeed1f1..35626c02c57b 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -449,7 +449,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
else
{
// paragraph spacing
- OutlinerView* pOLV = mpView ? mpView->GetTextEditOutlinerView() : NULL;
+ OutlinerView* pOLV = mpView->GetTextEditOutlinerView();
if( pOLV )
{
ESelection aSel = pOLV->GetSelection();