diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-06 19:00:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-06 20:28:05 +0200 |
commit | 13d71843510964a98d3c480d1e42533bdd34deab (patch) | |
tree | dd9bb2745c787d1afe04b88d3fe4f3e7fce652b8 /svtools | |
parent | 11419c34eb38b1d15bd83ca8c511346a7bc30537 (diff) |
make tools::Poly*gon single-arg constructors explicit
which will help avoid ambiguity in method calls in an upcoming patch
Change-Id: Ic7607ac7d95559e0942a84fb3226cfdd6ade22bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154146
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueset.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 933f8d42ca49..71f2f7c5aa0d 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1263,7 +1263,7 @@ void ValueSet::ImplDrawSelect(vcl::RenderContext& rRenderContext, { rRenderContext.SetLineColor(aDoubleColor); tools::PolyPolygon aPolyPoly(1); - aPolyPoly.Insert(aRect); + aPolyPoly.Insert(tools::Polygon(aRect)); rRenderContext.DrawTransparent(aPolyPoly, nTransparencePercent); } } @@ -1280,7 +1280,7 @@ void ValueSet::ImplDrawSelect(vcl::RenderContext& rRenderContext, if (bDrawSel) { tools::PolyPolygon aPolyPoly(1); - aPolyPoly.Insert(aRect); + aPolyPoly.Insert(tools::Polygon(aRect)); rRenderContext.DrawTransparent(aPolyPoly, nTransparencePercent); } @@ -1299,7 +1299,7 @@ void ValueSet::ImplDrawSelect(vcl::RenderContext& rRenderContext, if (bDrawSel) { tools::PolyPolygon aPolyPoly(1); - aPolyPoly.Insert(aRect); + aPolyPoly.Insert(tools::Polygon(aRect)); rRenderContext.DrawTransparent(aPolyPoly, nTransparencePercent); } |