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 /vcl/source/gdi/region.cxx | |
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 'vcl/source/gdi/region.cxx')
-rw-r--r-- | vcl/source/gdi/region.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index 78a862225ed2..6665b5c48d80 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -326,7 +326,7 @@ Region::Region(const tools::Polygon& rPolygon) if(rPolygon.GetSize()) { - ImplCreatePolyPolyRegion(rPolygon); + ImplCreatePolyPolyRegion(tools::PolyPolygon(rPolygon)); } } |