From 203476b6676505acafd1c41561800afd9316a0f6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Jul 2023 16:12:19 +0200 Subject: loplugin:constantparam Change-Id: Iee554baae7239c9bf0ac35cab6ff235a88dc29a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153973 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- include/basegfx/polygon/b2dlinegeometry.hxx | 3 +-- include/comphelper/propmultiplex2.hxx | 4 +--- include/svx/svdotable.hxx | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx index e12dd74987f9..9a330c4f4e5b 100644 --- a/include/basegfx/polygon/b2dlinegeometry.hxx +++ b/include/basegfx/polygon/b2dlinegeometry.hxx @@ -139,8 +139,7 @@ namespace basegfx::utils css::drawing::LineCap eCap, double fMaxAllowedAngle = basegfx::deg2rad(12.5), double fMaxPartOfEdge = 0.4, - double fMiterMinimumAngle = basegfx::deg2rad(15.0), - basegfx::triangulator::B2DTriangleVector* pTriangles = nullptr); + double fMiterMinimumAngle = basegfx::deg2rad(15.0)); } // end of namespace basegfx::utils diff --git a/include/comphelper/propmultiplex2.hxx b/include/comphelper/propmultiplex2.hxx index 5e6fec1571c3..ff3a9abaf2ef 100644 --- a/include/comphelper/propmultiplex2.hxx +++ b/include/comphelper/propmultiplex2.hxx @@ -80,7 +80,6 @@ class COMPHELPER_DLLPUBLIC OPropertyChangeMultiplexer2 final OPropertyChangeListener2* m_pListener; sal_Int32 m_nLockCount; bool m_bListening : 1; - bool const m_bAutoSetRelease : 1; void onListenerDestruction(); virtual ~OPropertyChangeMultiplexer2() override; @@ -88,8 +87,7 @@ class COMPHELPER_DLLPUBLIC OPropertyChangeMultiplexer2 final public: OPropertyChangeMultiplexer2(std::mutex& rMutex, std::unique_lock& rGuard, OPropertyChangeListener2* _pListener, - const css::uno::Reference& _rxSet, - bool _bAutoReleaseSet = true); + const css::uno::Reference& _rxSet); // XEventListener virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override; diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 3e0da9a72708..4a25ae970d7e 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -256,7 +256,7 @@ public: /// Next time layouting would be done, skip it (to layout at the end of multiple actions). void SetSkipChangeLayout(bool bSkipChangeLayout); - void LayoutTableHeight(tools::Rectangle& rArea, bool bFit); + void LayoutTableHeight(tools::Rectangle& rArea); virtual void onEditOutlinerStatusEvent( EditStatus* pEditStatus ) override; -- cgit