diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-08 14:36:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-10 12:35:48 +0100 |
commit | 860d18034f47e2b34b60137b0f7a1fa149988cd7 (patch) | |
tree | 5db4ca82e8605f2ef9f27a20a80dd61ce2419911 /oox | |
parent | 651b8080d1dc921e6ffbb8e176935bcc9d1b0b0f (diff) |
loplugin:fieldcast in oox::drawingml::Shape
Change-Id: I0e5642f4f7dbb3f95d92fbb4dcf5b17f4becf503
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159224
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index ff3d203f96ea..c38da7787ec3 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -233,7 +233,7 @@ void Shape::propagateDiagramHelper() if(pAnchorObj) { - static_cast<AdvancedDiagramHelper*>(mpDiagramHelper)->doAnchor(*pAnchorObj, *this); + mpDiagramHelper->doAnchor(*pAnchorObj, *this); mpDiagramHelper = nullptr; } } |