From b8512a1cc771b0bce7305ed5930524e1527b1cc1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Mar 2018 16:40:37 +0200 Subject: use more TypedWhichId in sfxsids Change-Id: I136427319ce2f1117501517efec2f03019bbf71e Reviewed-on: https://gerrit.libreoffice.org/51339 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/func/fuscale.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/func/fuscale.cxx') 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( aArgs.Get (SID_ATTR_ZOOM)).GetType ()) + switch ( aArgs.Get (SID_ATTR_ZOOM).GetType ()) { case SvxZoomType::PERCENT: { - nValue = static_cast( aArgs.Get (SID_ATTR_ZOOM)).GetValue (); + nValue = aArgs.Get (SID_ATTR_ZOOM).GetValue (); mpViewShell->SetZoom( nValue ); -- cgit