diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-02 16:23:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-03 09:07:53 +0200 |
commit | 87661a7ab3275195ca251188ce4d7825fd038de6 (patch) | |
tree | 981ec5f6634b88ed23880f46dba4c3d77b316592 /sd/source/filter/eppt/eppt.cxx | |
parent | 68e213319f2a3ee2f90e7bfccae8e5e13492d357 (diff) |
loplugin:checkunusedparams in sd
Change-Id: I217a4177e9c2cdc2d85100d253f7f38ec8aad756
Reviewed-on: https://gerrit.libreoffice.org/37162
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/filter/eppt/eppt.cxx')
-rw-r--r-- | sd/source/filter/eppt/eppt.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx index 14747c1203a6..2b98faf035af 100644 --- a/sd/source/filter/eppt/eppt.cxx +++ b/sd/source/filter/eppt/eppt.cxx @@ -399,7 +399,6 @@ void PPTWriter::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPropertyS mpPptEscherEx->BeginAtom(); - bool bFirst = true; bool bSimpleText = false; mpStrm->WriteUInt16( 5 ); // paragraph count @@ -408,13 +407,11 @@ void PPTWriter::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPropertyS { if ( nInstance >= EPP_TEXTTYPE_CenterBody ) { - bFirst = false; bSimpleText = true; mpStrm->WriteUInt16( nLev ); } - mpStyleSheet->mpParaSheet[ nInstance ]->Write( *mpStrm, mpPptEscherEx, nLev, bFirst, bSimpleText, mXPagePropSet ); - mpStyleSheet->mpCharSheet[ nInstance ]->Write( *mpStrm, mpPptEscherEx, nLev, bFirst, bSimpleText, mXPagePropSet ); - bFirst = false; + mpStyleSheet->mpParaSheet[ nInstance ]->Write( *mpStrm, nLev, bSimpleText, mXPagePropSet ); + mpStyleSheet->mpCharSheet[ nInstance ]->Write( *mpStrm, nLev, bSimpleText, mXPagePropSet ); } mpPptEscherEx->EndAtom( EPP_TxMasterStyleAtom, 0, nInstance ); } |