summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-23 20:12:55 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-05-28 10:04:12 +0200
commit44239426ad12050b0e3a7db87efa202288ba2e14 (patch)
treefba084e65945a935e57c284990a7652ebb2d606d /basegfx
parentda685e0029ff46f22d169d16986bb2e82e863e51 (diff)
Use getXWeak in basegfx
Change-Id: I650a8fcefd179937bdcbb6088658aa960008794d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150834 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/tools/unopolypolygon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx
index 0c3b59abac9b..41f149731965 100644
--- a/basegfx/source/tools/unopolypolygon.cxx
+++ b/basegfx/source/tools/unopolypolygon.cxx
@@ -97,7 +97,7 @@ namespace basegfx::unotools
throw lang::IllegalArgumentException(
"UnoPolyPolygon::addPolyPolygon(): Invalid input "
"poly-polygon, cannot retrieve vertex data",
- static_cast<cppu::OWeakObject*>(this), 1);
+ getXWeak(), 1);
aSrcPoly = unotools::polyPolygonFromPoint2DSequenceSequence(
xLinePoly->getPoints( 0,