diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-15 16:40:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-16 08:25:02 +0100 |
commit | b8512a1cc771b0bce7305ed5930524e1527b1cc1 (patch) | |
tree | 5459737688a820bd2f15c01093c61e9823441876 /sd/source/ui/func/fuscale.cxx | |
parent | a47baea83f761937f5b8b5ed0ee142d3e04386d4 (diff) |
use more TypedWhichId in sfxsids
Change-Id: I136427319ce2f1117501517efec2f03019bbf71e
Reviewed-on: https://gerrit.libreoffice.org/51339
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/func/fuscale.cxx')
-rw-r--r-- | sd/source/ui/func/fuscale.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx index 7cb45019018d..5b2505985d27 100644 --- a/sd/source/ui/func/fuscale.cxx +++ b/sd/source/ui/func/fuscale.cxx @@ -134,11 +134,11 @@ void FuScale::DoExecute( SfxRequest& rReq ) if (!mpViewShell) return; - switch (static_cast<const SvxZoomItem &>( aArgs.Get (SID_ATTR_ZOOM)).GetType ()) + switch ( aArgs.Get (SID_ATTR_ZOOM).GetType ()) { case SvxZoomType::PERCENT: { - nValue = static_cast<const SvxZoomItem &>( aArgs.Get (SID_ATTR_ZOOM)).GetValue (); + nValue = aArgs.Get (SID_ATTR_ZOOM).GetValue (); mpViewShell->SetZoom( nValue ); |