summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/txtnum.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-10-16 07:54:12 +0200
committerJan Holesovsky <kendy@collabora.com>2015-10-16 12:12:27 +0200
commit427c5dc6e0f817253b2f8cd7727e447ac4f4d656 (patch)
treeb79121a9292f90bd4712d3895a498aac121de471 /sw/source/uibase/shells/txtnum.cxx
parent67fe42070332709823f0b00e6311809bc3e5341c (diff)
sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
Diffstat (limited to 'sw/source/uibase/shells/txtnum.cxx')
-rw-r--r--sw/source/uibase/shells/txtnum.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx
index 8651adc994be..3c96264d08ae 100644
--- a/sw/source/uibase/shells/txtnum.cxx
+++ b/sw/source/uibase/shells/txtnum.cxx
@@ -50,7 +50,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
case FN_NUM_NUMBERING_ON:
{
GetShell().StartAllAction();
- SFX_REQUEST_ARG( rReq, pItem, SfxBoolItem, FN_PARAM_1 , false );
+ SFX_REQUEST_ARG(rReq, pItem, SfxBoolItem, FN_PARAM_1);
bool bMode = !GetShell().SelectionHasNumber(); // #i29560#
if ( pItem )
bMode = pItem->GetValue();
@@ -79,7 +79,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
case FN_NUM_BULLET_ON:
{
GetShell().StartAllAction();
- SFX_REQUEST_ARG( rReq, pItem, SfxBoolItem, FN_PARAM_1 , false );
+ SFX_REQUEST_ARG(rReq, pItem, SfxBoolItem, FN_PARAM_1);
bool bMode = !GetShell().SelectionHasBullet(); // #i29560#
if ( pItem )
bMode = pItem->GetValue();
@@ -186,7 +186,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateSwTabDialog( DLG_SVXTEST_NUM_BULLET,
GetView().GetWindow(), &aSet, GetShell()));
OSL_ENSURE(pDlg, "Dialog creation failed!");
- SFX_REQUEST_ARG( rReq, pPageItem, SfxStringItem, FN_PARAM_1, false );
+ SFX_REQUEST_ARG(rReq, pPageItem, SfxStringItem, FN_PARAM_1);
if ( pPageItem )
pDlg->SetCurPageId( OUStringToOString( pPageItem->GetValue(), RTL_TEXTENCODING_UTF8 ) );
const short nRet = pDlg->Execute();
@@ -247,7 +247,7 @@ void SwTextShell::ExecSetNumber(SfxRequest &rReq)
case FN_SVX_SET_NUMBER:
case FN_SVX_SET_BULLET:
{
- SFX_REQUEST_ARG( rReq, pItem, SfxUInt16Item, nSlot, false );
+ SFX_REQUEST_ARG(rReq, pItem, SfxUInt16Item, nSlot);
if ( pItem != NULL )
{
const sal_uInt16 nChoosenItemIdx = pItem->GetValue();