diff options
Diffstat (limited to 'sd/source/ui/func/fusnapln.cxx')
-rw-r--r-- | sd/source/ui/func/fusnapln.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx index ee51d78cec88..323404b5afab 100644 --- a/sd/source/ui/func/fusnapln.cxx +++ b/sd/source/ui/func/fusnapln.cxx @@ -167,8 +167,7 @@ void FuSnapLine::DoExecute( SfxRequest& rReq ) pPV = mpView->GetSdrPageView(); - switch ( static_cast<SnapKind>(static_cast<const SfxUInt16Item&>( - pArgs->Get(ATTR_SNAPLINE_KIND)).GetValue()) ) + switch ( static_cast<SnapKind>(pArgs->Get(ATTR_SNAPLINE_KIND).GetValue()) ) { case SnapKind::Horizontal : eKind = SdrHelpLineKind::Horizontal; break; case SnapKind::Vertical : eKind = SdrHelpLineKind::Vertical; break; |