diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-07 11:53:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-07 12:14:32 +0200 |
commit | 6f984c03da002da2b4c347c5421ee9cdc6aab084 (patch) | |
tree | 42927cb4188ac0e6bbc87d7e94115e5b21be6a49 /sd | |
parent | bfc8f4071f73396584679c56c99f81ae03453e92 (diff) |
coverity#738965 unused pointer value
Change-Id: Ie00a0ec0cbe5e3ec9c8e0e54f93153e799b621af
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 0f2c74b3b90d..354a20adeaa5 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1360,17 +1360,16 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u { if ( aTextObj.ParagraphCount() ) { - ParagraphObj* pBulletPara = aTextObj.GetParagraph(0); - sal_uInt32 nBulletFlags = 0; sal_uInt32 nNumberingType = 0, nPos2 = rExtBuStr.Tell(); rExtBuStr.WriteUInt32( (sal_uInt32)( EPP_PST_ExtendedParagraphAtom << 16 ) ).WriteUInt32( (sal_uInt32)0 ); for ( sal_uInt32 i = 0; i < aTextObj.ParagraphCount(); ++i ) { - pBulletPara = aTextObj.GetParagraph(i); - nBulletFlags = 0; + ParagraphObj* pBulletPara = aTextObj.GetParagraph(i); + sal_uInt32 nBulletFlags = 0; sal_uInt16 nBulletId = pBulletPara->nBulletId; + if ( pBulletPara->bExtendedBulletsUsed ) { nBulletFlags = 0x800000; |