summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh.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/textsh.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/textsh.cxx')
-rw-r--r--sw/source/uibase/shells/textsh.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index eac502c36574..45f4ecbdc385 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -282,7 +282,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
case SID_INSERT_OBJECT:
case SID_INSERT_PLUGIN:
{
- SFX_REQUEST_ARG( rReq, pNameItem, SfxGlobalNameItem, SID_INSERT_OBJECT, false );
+ SFX_REQUEST_ARG(rReq, pNameItem, SfxGlobalNameItem, SID_INSERT_OBJECT);
SvGlobalName *pName = NULL;
SvGlobalName aName;
if ( pNameItem )
@@ -291,8 +291,8 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
pName = &aName;
}
- SFX_REQUEST_ARG( rReq, pClassLocationItem, SfxStringItem, FN_PARAM_2, false );
- SFX_REQUEST_ARG( rReq, pCommandsItem, SfxStringItem, FN_PARAM_3, false );
+ SFX_REQUEST_ARG(rReq, pClassLocationItem, SfxStringItem, FN_PARAM_2);
+ SFX_REQUEST_ARG(rReq, pCommandsItem, SfxStringItem, FN_PARAM_3);
//TODO/LATER: recording currently not working, need code for Commandlist
svt::EmbeddedObjectRef xObj;
if( nSlot == SID_INSERT_PLUGIN && ( pClassLocationItem || pCommandsItem ) )
@@ -353,11 +353,11 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
case SID_INSERT_FLOATINGFRAME:
{
svt::EmbeddedObjectRef xObj;
- SFX_REQUEST_ARG( rReq, pNameItem, SfxStringItem, FN_PARAM_1, false );
- SFX_REQUEST_ARG( rReq, pURLItem, SfxStringItem, FN_PARAM_2, false );
- SFX_REQUEST_ARG( rReq, pMarginItem, SvxSizeItem, FN_PARAM_3, false );
- SFX_REQUEST_ARG( rReq, pScrollingItem, SfxByteItem, FN_PARAM_4, false );
- SFX_REQUEST_ARG( rReq, pBorderItem, SfxBoolItem, FN_PARAM_5, false );
+ SFX_REQUEST_ARG(rReq, pNameItem, SfxStringItem, FN_PARAM_1);
+ SFX_REQUEST_ARG(rReq, pURLItem, SfxStringItem, FN_PARAM_2);
+ SFX_REQUEST_ARG(rReq, pMarginItem, SvxSizeItem, FN_PARAM_3);
+ SFX_REQUEST_ARG(rReq, pScrollingItem, SfxByteItem, FN_PARAM_4);
+ SFX_REQUEST_ARG(rReq, pBorderItem, SfxBoolItem, FN_PARAM_5);
if(pURLItem) // URL is a _must_
{