diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 13:23:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 16:42:52 +0100 |
commit | 65219ed0566e987651d3fc16d16f5b40dec418cd (patch) | |
tree | 2dbd1f161ca0c14aadab05231c97e3755365fbea | |
parent | 0ff4909a55158cb9607986c88c44722ac2291632 (diff) |
coverity#708811 Unused pointer value
Change-Id: I18ed52cc6c00c5c462629c4fff7804ea22035e3a
-rw-r--r-- | sd/source/ui/func/fuexpand.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx index 95299d96db17..4ab706da60da 100644 --- a/sd/source/ui/func/fuexpand.cxx +++ b/sd/source/ui/func/fuexpand.cxx @@ -212,9 +212,7 @@ void FuExpandPage::DoExecute( SfxRequest& ) if (pOutlineObj) { // create structuring text objects - pPara = pOutl->GetParagraph( ++nParaPos ); - - OutlinerParaObject* pOPO = pOutl->CreateParaObject( nParaPos, nChildCount); + OutlinerParaObject* pOPO = pOutl->CreateParaObject(++nParaPos, nChildCount); SdrOutliner* pTempOutl = SdrMakeOutliner( OUTLINERMODE_OUTLINEOBJECT, mpDoc ); pTempOutl->SetText( *pOPO ); |