summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconbez.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuconbez.cxx')
-rw-r--r--sd/source/ui/func/fuconbez.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuconbez.cxx b/sd/source/ui/func/fuconbez.cxx
index 8b1ebdcf5a10..76c70d2f5537 100644
--- a/sd/source/ui/func/fuconbez.cxx
+++ b/sd/source/ui/func/fuconbez.cxx
@@ -80,7 +80,7 @@ void FuConstructBezierPolygon::DoExecute( SfxRequest& rReq )
{
const SfxPoolItem* pPoolItem = NULL;
if( SfxItemState::SET == pArgs->GetItemState( SID_ADD_MOTION_PATH, true, &pPoolItem ) )
- maTargets = ( ( const SfxUnoAnyItem* ) pPoolItem )->GetValue();
+ maTargets = static_cast<const SfxUnoAnyItem*>( pPoolItem )->GetValue();
}
}
@@ -448,7 +448,7 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
}
}
- ((SdrPathObj*)pObj)->SetPathPoly(aPoly);
+ static_cast<SdrPathObj*>(pObj)->SetPathPoly(aPoly);
}
else
{