summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuconuno.cxx')
-rw-r--r--sd/source/ui/func/fuconuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuconuno.cxx b/sd/source/ui/func/fuconuno.cxx
index 547d8be60de3..af015b9a923b 100644
--- a/sd/source/ui/func/fuconuno.cxx
+++ b/sd/source/ui/func/fuconuno.cxx
@@ -68,8 +68,8 @@ void FuConstructUnoControl::DoExecute( SfxRequest& rReq )
{
FuConstruct::DoExecute( rReq );
- SFX_REQUEST_ARG(rReq, pInventorItem, SfxUInt32Item, SID_FM_CONTROL_INVENTOR);
- SFX_REQUEST_ARG(rReq, pIdentifierItem, SfxUInt16Item, SID_FM_CONTROL_IDENTIFIER);
+ const SfxUInt32Item* pInventorItem = rReq.GetArg<SfxUInt32Item>(SID_FM_CONTROL_INVENTOR);
+ const SfxUInt16Item* pIdentifierItem = rReq.GetArg<SfxUInt16Item>(SID_FM_CONTROL_IDENTIFIER);
if( pInventorItem )
nInventor = pInventorItem->GetValue();
if( pIdentifierItem )