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 /cppcanvas/source | |
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 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 958faf8f8378..9d224f1146c4 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -1545,7 +1545,7 @@ namespace cppcanvas::internal case MetaActionType::GRADIENT: { MetaGradientAction* pGradAct = static_cast<MetaGradientAction*>(pCurrAct); - createGradientAction( ::tools::Polygon( pGradAct->GetRect() ), + createGradientAction( ::tools::PolyPolygon( pGradAct->GetRect() ), pGradAct->GetGradient(), rFactoryParms, true, |