diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-03 10:05:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-03 10:53:01 +0100 |
commit | 0528012fd0dc4b93645ef7790b0db9d1cecbae66 (patch) | |
tree | e3adb8f0200fc95c06f62205b346244c79ae88ca /include | |
parent | f612839ed9200a3900ae5c3a2e12beccfa37b11e (diff) |
loplugin:constantparam
Change-Id: If2dee122bf07dc179fd8f6e766442ec1891a5f3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87845
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/polygon/b2dlinegeometry.hxx | 7 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 2 | ||||
-rw-r--r-- | include/svx/DescriptionGenerator.hxx | 6 |
3 files changed, 4 insertions, 11 deletions
diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx index d798fff18cd9..c6973c6f161c 100644 --- a/include/basegfx/polygon/b2dlinegeometry.hxx +++ b/include/basegfx/polygon/b2dlinegeometry.hxx @@ -123,10 +123,6 @@ namespace basegfx the usual fallback to bevel is used. Allowed range is cropped to [F_PI .. 0.01 * F_PI]. - @param pTriangles - If given, the method will additionally add the created geometry as - B2DTriangle's - @return The tools::PolyPolygon containing the geometry of the extended line by it's line width. Contains bezier segments and edge roundings as @@ -139,8 +135,7 @@ namespace basegfx 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 utils } // end of namespace basegfx diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 66ba3b212f4f..5c6a50ea9694 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -295,7 +295,7 @@ public: /// Insert @rImage item with @rStr as either a legend or tooltip depending on @bShowLegend. void InsertItem(sal_uInt16 nItemId, const Image& rImage, - const OUString& rStr, size_t nPos = VALUESET_APPEND, bool bShowLegend = false); + const OUString& rStr, size_t nPos = VALUESET_APPEND); /// Insert an @rColor item with @rStr tooltip. void InsertItem(sal_uInt16 nItemId, const Color& rColor, const OUString& rStr); diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx index a2526539da02..7ee67c9104ff 100644 --- a/include/svx/DescriptionGenerator.hxx +++ b/include/svx/DescriptionGenerator.hxx @@ -122,13 +122,11 @@ private: /** Add a property value formatted as color to the description string. */ - void AddColor (const OUString& sPropertyName, - const OUString& sLocalizedName); + void AddColor (const OUString& sPropertyName); /** Add a property value formatted as integer to the description string. */ - void AddInteger (const OUString& sPropertyName, - const OUString& sLocalizedName); + void AddInteger (const OUString& sPropertyName); }; |