diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 11:03:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:37:52 +0000 |
commit | 61309b2b49c91d31719f63d30e87ac6801216101 (patch) | |
tree | 06705e75188018559546f4c12b1ebdce7066370b /svx | |
parent | 04187aaf09969341a7ae9ae7ff5a13925381a96b (diff) |
coverity#704834 Dereference after null check
Change-Id: If26b47fa8c2888e4fe7a5b45c4659c5c66e1461b
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 07e4e9d9f3da..214f22af597f 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1370,7 +1370,7 @@ void SdrTextObj::NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObjec if( pText ) pText->SetOutlinerParaObject( pTextObject ); - if( pText->GetOutlinerParaObject() ) + if (pText && pText->GetOutlinerParaObject()) { SvxWritingModeItem aWritingMode(pText->GetOutlinerParaObject()->IsVertical() ? com::sun::star::text::WritingMode_TB_RL |