diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-04 16:12:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-04 20:19:06 +0200 |
commit | 203476b6676505acafd1c41561800afd9316a0f6 (patch) | |
tree | 6693007f3d0adb6d9d644ef35ad0eea11b0b2c14 /include | |
parent | f73e8c895e24fda10931ecf344a1a0dd8bcdf92c (diff) |
loplugin:constantparam
Change-Id: Iee554baae7239c9bf0ac35cab6ff235a88dc29a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153973
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/polygon/b2dlinegeometry.hxx | 3 | ||||
-rw-r--r-- | include/comphelper/propmultiplex2.hxx | 4 | ||||
-rw-r--r-- | include/svx/svdotable.hxx | 2 |
3 files changed, 3 insertions, 6 deletions
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<std::mutex>& rGuard, OPropertyChangeListener2* _pListener, - const css::uno::Reference<css::beans::XPropertySet>& _rxSet, - bool _bAutoReleaseSet = true); + const css::uno::Reference<css::beans::XPropertySet>& _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; |