From e5be07f5167d4103b4620201df350b1d9e795393 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 16 Oct 2015 08:42:39 +0200 Subject: sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead. Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d --- sd/source/ui/func/fuscale.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 6ad4fba0915a..b33f264edba9 100644 --- a/sd/source/ui/func/fuscale.cxx +++ b/sd/source/ui/func/fuscale.cxx @@ -179,7 +179,7 @@ void FuScale::DoExecute( SfxRequest& rReq ) } else if(mpViewShell && (pArgs->Count () == 1)) { - SFX_REQUEST_ARG(rReq, pScale, SfxUInt32Item, ID_VAL_ZOOM); + const SfxUInt32Item* pScale = rReq.GetArg(ID_VAL_ZOOM); mpViewShell->SetZoom (pScale->GetValue ()); mpViewShell->GetViewFrame()->GetBindings().Invalidate( SidArrayZoom ); -- cgit