summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-15 19:47:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-15 22:10:47 +0200
commit87884c53bfe7c4d10ee24359b3d03c9bc25c6b5e (patch)
tree138a88ed2ba8a5f94d964e2309272d2a556eb909 /sd/source/ui/view
parentb294def2389aa3981a72d23878fa63928efc4147 (diff)
coverity#1437956 Dereference after null check
Change-Id: Idcfb63beb094a000c70f594542757ad2e4a577fc Reviewed-on: https://gerrit.libreoffice.org/57459 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/outlnvsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index e8de41e29cb1..a4ca4ecee0a8 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -1598,6 +1598,7 @@ void OutlineViewShell::UpdateTitleObject( SdPage* pPage, Paragraph const * pPara
if (pOPO)
{
pOPO->SetOutlinerMode( OutlinerMode::TitleObject );
+ assert(pTO);
pOPO->SetVertical( pTO->IsVerticalWriting() );
if( pTO->GetOutlinerParaObject() && (pOPO->GetTextObject() == pTO->GetOutlinerParaObject()->GetTextObject()) )
{