summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-21 11:52:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-22 08:33:08 +0100
commitf1a55c4bfc6afcd9fd316e055e626097e0666ea8 (patch)
tree732404505e1ab4f41342322a2be37148dbe453ba /cui
parent02393281b6964b6657985a453c6f1a43ac77411c (diff)
TypedWhichId for SDRATTR* constants (3)
Change-Id: Iea72cb3a4bbf693096de46269f58259b5952eedb Reviewed-on: https://gerrit.libreoffice.org/45024 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/transfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 1f87636e7691..d9a3ff38ac85 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -625,7 +625,7 @@ void SvxSlantTabPage::Reset(const SfxItemSet* rAttrs)
{
//save geometry
SdrCustomShapeGeometryItem aInitialGeometry =
- static_cast<const SdrCustomShapeGeometryItem&>(pObj->GetMergedItem(SDRATTR_CUSTOMSHAPE_GEOMETRY));
+ pObj->GetMergedItem(SDRATTR_CUSTOMSHAPE_GEOMETRY);
EnhancedCustomShape2d aShape(pObj);