diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-10-17 15:35:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-17 15:36:13 +0200 |
commit | 51d86c9e62f1b55a2ae7c2fdb2eefc7043a94226 (patch) | |
tree | 40b5d88fd05645926587f405d00c03a1fc67dc4c /svx/source/unodraw | |
parent | 69e8417e435bc26fdd821fb343483e6c788189d3 (diff) |
Consistency around SdrAngleItem in svx/sxciaitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I8e76e4751e50f5952c6dfff9ee10362166bf0523
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index b894bf5e8b7b..594c86ee4a9c 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1971,7 +1971,7 @@ uno::Any SvxShape::GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertySimpleE const SfxPoolItem* pPoolItem=NULL; if(aSet.GetItemState(SDRATTR_CIRCSTARTANGLE,false,&pPoolItem)==SfxItemState::SET) { - sal_Int32 nAngle = ((SdrCircStartAngleItem*)pPoolItem)->GetValue(); + sal_Int32 nAngle = ((SdrAngleItem*)pPoolItem)->GetValue(); aAny <<= nAngle; } break; @@ -1982,7 +1982,7 @@ uno::Any SvxShape::GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertySimpleE const SfxPoolItem* pPoolItem=NULL; if (aSet.GetItemState(SDRATTR_CIRCENDANGLE,false,&pPoolItem)==SfxItemState::SET) { - sal_Int32 nAngle = ((SdrCircEndAngleItem*)pPoolItem)->GetValue(); + sal_Int32 nAngle = ((SdrAngleItem*)pPoolItem)->GetValue(); aAny <<= nAngle; } break; |