summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/tabsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/tabsh.cxx')
-rw-r--r--sw/source/uibase/shells/tabsh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index d40d21a0f43b..641b1f00257e 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -943,9 +943,9 @@ void SwTableShell::Execute(SfxRequest &rReq)
long nCount=0;
bool bHorizontal=true;
bool bProportional = false;
- SFX_REQUEST_ARG(rReq, pSplit, SfxInt32Item, FN_TABLE_SPLIT_CELLS);
- SFX_REQUEST_ARG(rReq, pHor, SfxBoolItem, FN_PARAM_1);
- SFX_REQUEST_ARG(rReq, pProp, SfxBoolItem, FN_PARAM_2);
+ const SfxInt32Item* pSplit = rReq.GetArg<SfxInt32Item>(FN_TABLE_SPLIT_CELLS);
+ const SfxBoolItem* pHor = rReq.GetArg<SfxBoolItem>(FN_PARAM_1);
+ const SfxBoolItem* pProp = rReq.GetArg<SfxBoolItem>(FN_PARAM_2);
if ( pSplit )
{
nCount = pSplit->GetValue();
@@ -985,7 +985,7 @@ void SwTableShell::Execute(SfxRequest &rReq)
case FN_TABLE_SPLIT_TABLE:
{
- SFX_REQUEST_ARG(rReq, pType, SfxUInt16Item, FN_PARAM_1);
+ const SfxUInt16Item* pType = rReq.GetArg<SfxUInt16Item>(FN_PARAM_1);
if( pType )
{
switch( pType->GetValue() )