diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 14:13:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:42:40 +0000 |
commit | ff339c89b51ed571d55c762e43aa1a6ee9ada1cb (patch) | |
tree | 5ed1c9a8353037745ce49e5a97e696157a0dcbca /include/filter | |
parent | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (diff) |
loplugin:constantparam part2
Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746
Reviewed-on: https://gerrit.libreoffice.org/36072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r-- | include/filter/msfilter/escherex.hxx | 5 | ||||
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 9 | ||||
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx index 63f2a346f306..e800fb9b65f3 100644 --- a/include/filter/msfilter/escherex.hxx +++ b/include/filter/msfilter/escherex.hxx @@ -572,8 +572,7 @@ public: sal_uInt32 GetBlibStoreContainerSize( SvStream* pMergePicStreamBSE = nullptr ) const; void WriteBlibStoreContainer( SvStream& rStrm, SvStream* pMergePicStreamBSE = nullptr ); - void WriteBlibStoreEntry(SvStream& rStrm, sal_uInt32 nBlipId, - bool bWritePictureOffset, sal_uInt32 nResize); + void WriteBlibStoreEntry(SvStream& rStrm, sal_uInt32 nBlipId, sal_uInt32 nResize); sal_uInt32 GetBlibID( SvStream& rPicOutStream, const OString& rGraphicId, @@ -945,7 +944,7 @@ public: class MSFILTER_DLLPUBLIC EscherExGlobal : public EscherGraphicProvider { public: - explicit EscherExGlobal( EscherGraphicProviderFlags nGraphicProvFlags = EscherGraphicProviderFlags::NONE ); + explicit EscherExGlobal(); virtual ~EscherExGlobal() override; /** Returns a new drawing ID for a new drawing container (DGCONTAINER). */ diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index b5362e61aef2..c8f6ba051333 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -202,10 +202,10 @@ struct MSDffTxId { sal_uInt16 nTxBxS; sal_uInt16 nSequence; - MSDffTxId( sal_uInt16 nTxBxS_, sal_uInt16 nSequence_ ) - : nTxBxS( nTxBxS_ ), nSequence( nSequence_ ){} + MSDffTxId() + : nTxBxS( 0 ), nSequence( 0 ) {} MSDffTxId( const MSDffTxId& rCopy ) - : nTxBxS( rCopy.nTxBxS ), nSequence( rCopy.nSequence ){} + : nTxBxS( rCopy.nTxBxS ), nSequence( rCopy.nSequence ) {} }; struct MSFILTER_DLLPUBLIC SvxMSDffImportRec @@ -690,8 +690,7 @@ public: void StoreShapeOrder(sal_uLong nId, sal_uLong nTxBx, SdrObject* pObject, - SwFlyFrameFormat* pFly = nullptr, - short nHdFtSection = 0) const; + SwFlyFrameFormat* pFly = nullptr) const; void ExchangeInShapeOrder(SdrObject* pOldObject, sal_uLong nTxBx, diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 65aa8a9884d3..a34b601013ae 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -99,7 +99,7 @@ struct MSFILTER_DLLPUBLIC PowerPointImportParam sal_uInt32 nImportFlags; PptCurrentUserAtom aCurrentUserAtom; - PowerPointImportParam( SvStream& rDocStream, sal_uInt32 nImportFlags ); + PowerPointImportParam( SvStream& rDocStream ); }; struct SdHyperlinkEntry |