diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-14 13:41:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-15 08:27:25 +0200 |
commit | b47cb646ff2a62fcd3fac0e453a7261bbaefbcb7 (patch) | |
tree | 49a2dc78e998baa77212776d7d94fb8d72dc0f00 /include | |
parent | 89e0663c55f7f1763536a345d63111115c71ef26 (diff) |
loplugin:constantparam
Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/editeng.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/frame.hxx | 2 | ||||
-rw-r--r-- | include/svtools/treelistbox.hxx | 2 | ||||
-rw-r--r-- | include/svx/framelinkarray.hxx | 6 | ||||
-rw-r--r-- | include/svx/gridctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdedtv.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/contenthelper.hxx | 6 | ||||
-rw-r--r-- | include/vcl/cursor.hxx | 2 | ||||
-rw-r--r-- | include/vcl/status.hxx | 2 |
9 files changed, 14 insertions, 16 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index b51b8b40a814..eec5b29048aa 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -452,9 +452,9 @@ public: bool HasConvertibleTextPortion( LanguageType nLang ); virtual bool ConvertNextDocument(); - bool UpdateFields(); - bool UpdateFieldsOnly(); - void RemoveFields( bool bKeepFieldText, std::function<bool ( const SvxFieldData* )> isFieldData = [] (const SvxFieldData* ){return true;} ); + bool UpdateFields(); + bool UpdateFieldsOnly(); + void RemoveFields( std::function<bool ( const SvxFieldData* )> isFieldData = [] (const SvxFieldData* ){return true;} ); sal_uInt16 GetFieldCount( sal_Int32 nPara ) const; EFieldInfo GetFieldInfo( sal_Int32 nPara, sal_uInt16 nField ) const; diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index 2a7aa0615d03..b6b9699c5000 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -155,7 +155,7 @@ public: SAL_DLLPRIVATE bool DoClose_Impl(); SAL_DLLPRIVATE void SetFrameInterface_Impl( const css::uno::Reference< css::frame::XFrame >& rFrame ); - SAL_DLLPRIVATE void ReleasingComponent_Impl( bool bSet ); + SAL_DLLPRIVATE void ReleasingComponent_Impl(); SAL_DLLPRIVATE void GetViewData_Impl(); SAL_DLLPRIVATE void SetFrameType_Impl( sal_uInt32 ); SAL_DLLPRIVATE bool PrepareClose_Impl( bool bUI ); diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 5e75a2f53fae..9c45ffef51df 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -605,7 +605,7 @@ protected: virtual void PreparePaint(vcl::RenderContext& rRenderContext, SvTreeListEntry& rEntry); virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; - void InitSettings(bool bBackground); + void InitSettings(); virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; diff --git a/include/svx/framelinkarray.hxx b/include/svx/framelinkarray.hxx index 2ae5e577d2dd..426ad58acb05 100644 --- a/include/svx/framelinkarray.hxx +++ b/include/svx/framelinkarray.hxx @@ -327,10 +327,8 @@ public: // mirroring -------------------------------------------------------------- - /** Mirrors the entire array horizontally. - @param bSwapDiag - true = Swap top-left to bottom-right and bottom-left to top-right frame borders. */ - void MirrorSelfX( bool bSwapDiag ); + /** Mirrors the entire array horizontally. */ + void MirrorSelfX(); // drawing ---------------------------------------------------------------- diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index b5e4290ceabf..0f53cc4fc8d5 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -492,7 +492,7 @@ public: bar <b>always</b> implies a horizontal scroll bar @seealso EnableNavigationBar */ - void ForceHideScrollbars( bool _bForce ); + void ForceHideScrollbars(); css::uno::Reference< css::uno::XComponentContext > getContext() const { return m_xContext; } diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx index 6380ee0b6d1a..6b5caa9b5016 100644 --- a/include/svx/svdedtv.hxx +++ b/include/svx/svdedtv.hxx @@ -343,7 +343,7 @@ public: bool IsConvertToPolyObjPossible() const { ForcePossibilities(); return bCanConvToPoly; } bool IsConvertToContourPossible() const { ForcePossibilities(); return bCanConvToContour; } void ConvertMarkedToPathObj(bool bLineToArea); - void ConvertMarkedToPolyObj(bool bLineToArea); + void ConvertMarkedToPolyObj(); // Align all marked objects vertically. Normally the SnapRect of an object is used. void AlignMarkedObjects(SdrHorAlign eHor, SdrVertAlign eVert); diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx index 58dbc00feb45..d05f552b23b6 100644 --- a/include/ucbhelper/contenthelper.hxx +++ b/include/ucbhelper/contenthelper.hxx @@ -281,11 +281,11 @@ protected: * This method removes the propertyset containing the Additional Core * Properties of the content. * - * @param bRecursive is a flag indicating whether propertysets for - * children described by rOldKey shall be removed too. + * Propertysets for children described by rOldKey are removed too. + * * @return True, if the operation succeeded - False, otherwise. */ - bool removeAdditionalPropertySet( bool bRecursive ); + bool removeAdditionalPropertySet(); public: /** diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx index d71d387e8953..ab5a2e249d3e 100644 --- a/include/vcl/cursor.hxx +++ b/include/vcl/cursor.hxx @@ -57,7 +57,7 @@ public: SAL_DLLPRIVATE void ImplDraw(); DECL_DLLPRIVATE_LINK_TYPED( ImplTimerHdl, Timer*, void ); SAL_DLLPRIVATE void ImplShow(); - SAL_DLLPRIVATE void ImplHide( bool bStopTimer ); + SAL_DLLPRIVATE void ImplHide(); SAL_DLLPRIVATE void ImplResume( bool bRestore = false ); SAL_DLLPRIVATE bool ImplSuspend(); SAL_DLLPRIVATE void ImplNew(); diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index 057cccbbc709..9c04e0df0117 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -105,7 +105,7 @@ public: virtual ~StatusBar(); virtual void dispose() override; - void AdjustItemWidthsForHiDPI(bool bAdjustHiDPI); + void AdjustItemWidthsForHiDPI(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override; |