diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-25 13:32:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-25 06:37:42 +0000 |
commit | b8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 (patch) | |
tree | cb8c8db34a096467cf81c6ae0649a00032bb4a7f /include/filter | |
parent | 1e84b23839d96068c862e746c9162db79d2c8c62 (diff) |
new loplugin: countusersofdefaultparams
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04
Reviewed-on: https://gerrit.libreoffice.org/28353
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/filter')
-rw-r--r-- | include/filter/msfilter/escherex.hxx | 6 | ||||
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 14 | ||||
-rw-r--r-- | include/filter/msfilter/rtfutil.hxx | 2 | ||||
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 10 |
4 files changed, 16 insertions, 16 deletions
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx index b541b36a48a5..e71ec4715264 100644 --- a/include/filter/msfilter/escherex.hxx +++ b/include/filter/msfilter/escherex.hxx @@ -688,7 +688,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 = 0); + bool bWritePictureOffset, sal_uInt32 nResize); sal_uInt32 GetBlibID( SvStream& rPicOutStream, const OString& rGraphicId, @@ -1233,7 +1233,7 @@ public: void AddChildAnchor( const Rectangle& rRectangle ); void AddClientAnchor( const Rectangle& rRectangle ); - virtual sal_uInt32 EnterGroup( const OUString& rShapeName, const Rectangle* pBoundRect = nullptr ); + virtual sal_uInt32 EnterGroup( const OUString& rShapeName, const Rectangle* pBoundRect ); sal_uInt32 EnterGroup( const Rectangle* pBoundRect = nullptr ); sal_uInt32 GetGroupLevel() const { return mnGroupLevel; }; void SetGroupSnapRect( sal_uInt32 nGroupLevel, const Rectangle& rRect ); @@ -1246,7 +1246,7 @@ public: virtual void Commit( EscherPropertyContainer& rProps, const Rectangle& rRect); static sal_uInt32 GetColor( const sal_uInt32 nColor ); - static sal_uInt32 GetColor( const Color& rColor, bool bSwap = true ); + static sal_uInt32 GetColor( const Color& rColor, bool bSwap ); // ...Sdr... implemented in eschesdo.cxx diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 9cbf2e18ac33..3eca3ca8300b 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -100,7 +100,7 @@ public: void SetDefaultPropSet( SvStream& rIn, sal_uInt32 nOffDgg ) const; void ApplyAttributes( SvStream& rIn, SfxItemSet& rSet ) const; void ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObjData& rObjData ) const; - void ImportGradientColor( SfxItemSet& aSet, MSO_FillType eMSO_FillType, double dTrans = 1.0 , double dBackTrans = 1.0 ) const; + void ImportGradientColor( SfxItemSet& aSet, MSO_FillType eMSO_FillType, double dTrans, double dBackTrans = 1.0 ) const; }; #define COL_DEFAULT RGB_COLORDATA( 0xFA, 0xFB, 0xFC ) @@ -501,13 +501,13 @@ protected: DffObjData& rData, void* pData, Rectangle& rTextRect, - SdrObject* pObj = nullptr); + SdrObject* pObj); /** Object finalization, used by the Excel filter to correctly compute the object anchoring after nested objects have been imported. */ virtual SdrObject* FinalizeObj(DffObjData& rData, - SdrObject* pObj = nullptr); + SdrObject* pObj); virtual bool GetColorFromPalette(sal_uInt16 nNum, Color& rColor) const; @@ -555,7 +555,7 @@ public: static OUString MSDFFReadZString( SvStream& rIn, sal_uInt32 nMaxLen, - bool bUniCode = false); + bool bUniCode); static bool ReadCommonRecordHeader( SvStream& rSt, sal_uInt8& rVer, @@ -661,14 +661,14 @@ public: void* pData, Rectangle& rClientRect, const Rectangle& rGlobalChildRect, - int nCalledByGroup = 0, + int nCalledByGroup, sal_Int32* pShapeId = nullptr ); SdrObject* ImportShape( const DffRecordHeader& rHd, SvStream& rSt, void* pData, Rectangle& rClientRect, const Rectangle& rGlobalChildRect, - int nCalledByGroup = 0, + int nCalledByGroup, sal_Int32* pShapeId = nullptr); Rectangle GetGlobalChildAnchor( const DffRecordHeader& rHd, @@ -724,7 +724,7 @@ public: const css::uno::Any& rAny, const css::uno::Reference< css::beans::XPropertySet > & rXPropSet, const OUString& rPropertyName, - bool bTestPropertyAvailability = false + bool bTestPropertyAvailability ); void insertShapeId( sal_Int32 nShapeId, SdrObject* pShape ); diff --git a/include/filter/msfilter/rtfutil.hxx b/include/filter/msfilter/rtfutil.hxx index 12ccb42c9a14..4db8c5243e11 100644 --- a/include/filter/msfilter/rtfutil.hxx +++ b/include/filter/msfilter/rtfutil.hxx @@ -24,7 +24,7 @@ namespace rtfutil { MSFILTER_DLLPUBLIC OString OutHex(sal_uLong nHex, sal_uInt8 nLen); /// Handles correct unicode and legacy export of a single character. -MSFILTER_DLLPUBLIC OString OutChar(sal_Unicode c, int *pUCMode, rtl_TextEncoding eDestEnc, bool* pSuccess = nullptr, bool bUnicode = true); +MSFILTER_DLLPUBLIC OString OutChar(sal_Unicode c, int *pUCMode, rtl_TextEncoding eDestEnc, bool* pSuccess, bool bUnicode = true); /** * Handles correct unicode and legacy export of a string. diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index a32a492da887..ee893ad42932 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -471,7 +471,7 @@ public: PptFontEntityAtom* GetFontEnityAtom( sal_uInt32 nNum ) const; void RecolorGraphic( SvStream& rSt, sal_uInt32 nRecLen, Graphic& rGraph ); virtual SdrObject* ReadObjText( PPTTextObj* pTextObj, SdrObject* pObj, SdPageCapsule pPage ) const; - virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, Rectangle& rTextRect, SdrObject* pObj = nullptr ) override; + virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, Rectangle& rTextRect, SdrObject* pObj ) override; virtual void ProcessClientAnchor2( SvStream& rSt, DffRecordHeader& rHd, void* pData, DffObjData& rObj ) override; void ImportHeaderFooterContainer( DffRecordHeader& rHeader, HeaderFooterEntry& rEntry ); }; @@ -560,8 +560,8 @@ protected: protected: using SdrEscherImport::ReadObjText; - bool SeekToAktPage(DffRecordHeader* pRecHd=nullptr) const; - bool SeekToDocument(DffRecordHeader* pRecHd=nullptr) const; + bool SeekToAktPage(DffRecordHeader* pRecHd) const; + bool SeekToDocument(DffRecordHeader* pRecHd) const; static bool SeekToContentOfProgTag( sal_Int32 nVersion, SvStream& rSt, @@ -619,7 +619,7 @@ public: PptPageKind ePageKind = PPT_SLIDEPAGE ) const; - void ImportPage( SdrPage* pPage, const PptSlidePersistEntry* pMasterPersist = nullptr ); + void ImportPage( SdrPage* pPage, const PptSlidePersistEntry* pMasterPersist ); virtual bool GetColorFromPalette(sal_uInt16 nNum, Color& rColor) const override; virtual bool SeekToShape( SvStream& rSt, void* pClientData, sal_uInt32 nId ) const override; virtual const PptSlideLayoutAtom* GetSlideLayoutAtom() const override; @@ -1294,7 +1294,7 @@ public: mpPPTImporter ( pPPTImporter ) {}; bool ReadOCXStream( tools::SvRef<SotStorage>& rSrc1, - css::uno::Reference<css::drawing::XShape > *pShapeRef=nullptr ); + css::uno::Reference<css::drawing::XShape > *pShapeRef ); virtual bool InsertControl( const css::uno::Reference< css::form::XFormComponent > &rFComp, const css::awt::Size& rSize, |