summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svddrgv.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-11-02 09:44:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-02 13:30:14 +0100
commita6cf6ac1f6df02c9fe733858f2aae866ffd38569 (patch)
treeb32b5e5ad055586024a2aab6daded70d061a4204 /svx/source/svdraw/svddrgv.cxx
parent965ffbf0c22a1ad780ad92e2e7c54522d9e6a7d0 (diff)
tdf#54857 elide more dynamic_cast
Change-Id: I0cbdb2ee46600559d9a37f09b574d484e72a0e0d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142133 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svddrgv.cxx')
-rw-r--r--svx/source/svdraw/svddrgv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx
index b6ac05cef7c1..7c5d2c76f9e9 100644
--- a/svx/source/svdraw/svddrgv.cxx
+++ b/svx/source/svdraw/svddrgv.cxx
@@ -270,7 +270,7 @@ bool SdrDragView::BegDragObj(const Point& rPnt, OutputDevice* pOut, SdrHdl* pHdl
for(size_t a=0; !b3DObjSelected && a<GetMarkedObjectCount(); ++a)
{
SdrObject* pObj = GetMarkedObjectByIndex(a);
- if(dynamic_cast< const E3dObject* >(pObj))
+ if(DynCastE3dObject(pObj))
b3DObjSelected = true;
}
// If yes, allow shear even when !IsShearAllowed,