diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-01 15:06:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-04 09:09:54 +0000 |
commit | b62e6b011a3c9a340353546b73ff2eda0e793215 (patch) | |
tree | 8281c01f5639fd78fbcc45d7414e08657e1c6941 /include/svx | |
parent | 953f8f2cfecbe3005eb7de84daf1c9d86379244c (diff) |
loplugin:constantparam in svx
Change-Id: Ib3c1262d5488e3e348ae985f53ff8c63f2175555
Reviewed-on: https://gerrit.libreoffice.org/23724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ctredlin.hxx | 2 | ||||
-rw-r--r-- | include/svx/dbaexchange.hxx | 1 | ||||
-rw-r--r-- | include/svx/dlgctrl.hxx | 4 | ||||
-rw-r--r-- | include/svx/fillctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/fmtools.hxx | 2 | ||||
-rw-r--r-- | include/svx/gridctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdglue.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdmodel.hxx | 3 | ||||
-rw-r--r-- | include/svx/svdmrkv.hxx | 3 |
9 files changed, 9 insertions, 12 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index e0dcf18e891c..01fe64afd7aa 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -265,7 +265,7 @@ public: // Methods for Calc { void SetRefHdl( const Link<SvxTPFilter*,void>& rLink ) { aRefLink = rLink; } - void Enable( bool bEnable = true, bool bChild = true ); + void Enable( bool bEnable = true ); void Disable(); // } Methods for Calc }; diff --git a/include/svx/dbaexchange.hxx b/include/svx/dbaexchange.hxx index 19fe21a0cc11..b76ad73cbc13 100644 --- a/include/svx/dbaexchange.hxx +++ b/include/svx/dbaexchange.hxx @@ -63,7 +63,6 @@ namespace svx OColumnTransferable( const OUString& _rDatasource ,const OUString& _rConnectionResource - ,const sal_Int32 _nCommandType ,const OUString& _rCommand ,const OUString& _rFieldName ,ColumnTransferFormatFlags _nFormats diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 7ee7e5346aff..cbbcb8f44d42 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -108,9 +108,9 @@ protected: Point GetApproxLogPtFromPixPt( const Point& rRoughPixelPoint ) const; public: SvxRectCtl( vcl::Window* pParent, RECT_POINT eRpt = RP_MM, - sal_uInt16 nBorder = 200, sal_uInt16 nCircle = 80, CTL_STYLE eStyle = CS_RECT ); + sal_uInt16 nBorder = 200, sal_uInt16 nCircle = 80 ); void SetControlSettings(RECT_POINT eRpt = RP_MM, sal_uInt16 nBorder = 200, - sal_uInt16 nCircle = 80, CTL_STYLE eStyle = CS_RECT); + sal_uInt16 nCircle = 80); virtual ~SvxRectCtl(); virtual void dispose() override; diff --git a/include/svx/fillctrl.hxx b/include/svx/fillctrl.hxx index 5276d286de02..98a662c0ed45 100644 --- a/include/svx/fillctrl.hxx +++ b/include/svx/fillctrl.hxx @@ -88,7 +88,7 @@ private: virtual void DataChanged(const DataChangedEvent& rDCEvt) override; public: - FillControl(vcl::Window* pParent, WinBits nStyle = 0); + FillControl(vcl::Window* pParent); virtual ~FillControl(); virtual void dispose() override; diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index 4aa1fd612d70..48b296d623ed 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -178,7 +178,7 @@ class SAL_WARN_UNUSED FmXDisposeMultiplexer : public ::cppu::WeakImplHelper1< cs virtual ~FmXDisposeMultiplexer(); public: - FmXDisposeMultiplexer(FmXDisposeListener* _pListener, const css::uno::Reference< css::lang::XComponent>& _rxObject, sal_Int16 _nId = -1); + FmXDisposeMultiplexer(FmXDisposeListener* _pListener, const css::uno::Reference< css::lang::XComponent>& _rxObject); // css::lang::XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index 13fb9da90c9b..f4540571063a 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -181,7 +181,7 @@ public: RECORD_NEW }; - NavigationBar(vcl::Window* pParent, WinBits nStyle = 0); + NavigationBar(vcl::Window* pParent); virtual ~NavigationBar(); virtual void dispose() override; diff --git a/include/svx/svdglue.hxx b/include/svx/svdglue.hxx index bb91f9bc8cde..ed82bf55f342 100644 --- a/include/svx/svdglue.hxx +++ b/include/svx/svdglue.hxx @@ -77,7 +77,7 @@ class SVX_DLLPUBLIC SdrGluePoint { bool bUserDefined:1; // #i38892# public: SdrGluePoint(): nEscDir(SdrEscapeDirection::SMART),nId(0),nAlign(SdrAlign::NONE),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {} - SdrGluePoint(const Point& rNewPos, bool bNewPercent=true, SdrAlign nNewAlign = SdrAlign::HORZ_CENTER): aPos(rNewPos),nEscDir(SdrEscapeDirection::SMART),nId(0),nAlign(nNewAlign),bNoPercent(!bNewPercent),bReallyAbsolute(false),bUserDefined(true) {} + SdrGluePoint(const Point& rNewPos): aPos(rNewPos),nEscDir(SdrEscapeDirection::SMART),nId(0),nAlign(SdrAlign::NONE),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {} const Point& GetPos() const { return aPos; } void SetPos(const Point& rNewPos) { aPos=rNewPos; } SdrEscapeDirection GetEscDir() const { return nEscDir; } diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 3e58f113c843..a6d5aaf4ddc7 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -261,8 +261,7 @@ private: SVX_DLLPRIVATE void ImpReformatAllTextObjects(); SVX_DLLPRIVATE void ImpReformatAllEdgeObjects(); SVX_DLLPRIVATE void ImpCreateTables(); - SVX_DLLPRIVATE void ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, - bool bLoadRefCounts = true); + SVX_DLLPRIVATE void ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable); // this is a weak reference to a possible living api wrapper for this model diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx index 7ed149cb4744..2a62ec859a51 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -160,12 +160,11 @@ protected: void ForceRefToMarked(); void ForceUndirtyMrkPnt() const { if (mbMrkPntDirty) UndirtyMrkPnt(); } - //HMHvoid ImpShowMarkHdl(bool bNoRefHdl); virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, SdrPageView* pPV, SdrSearchOptions nOptions, const SetOfByte* pMVisLay) const; SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObjList* pOL, SdrPageView* pPV, SdrSearchOptions nOptions, const SetOfByte* pMVisLay, SdrObject*& rpRootObj) const; SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObjList* pOL, SdrPageView* pPV, SdrSearchOptions nOptions, const SetOfByte* pMVisLay, SdrObject*& rpRootObj,const SdrMarkList * pMarkList) const; bool ImpIsFrameHandles() const; - void ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, sal_uInt16 nVal=0, ImpTakeDescriptionOptions nOpt=ImpTakeDescriptionOptions::NONE) const; + void ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, ImpTakeDescriptionOptions nOpt=ImpTakeDescriptionOptions::NONE) const; // Generates a string including degrees symbol, from an angel specification in 1/100deg bool ImpMarkPoint(SdrHdl* pHdl, SdrMark* pMark, bool bUnmark); |