diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-10-16 07:54:12 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-10-16 12:12:27 +0200 |
commit | 427c5dc6e0f817253b2f8cd7727e447ac4f4d656 (patch) | |
tree | b79121a9292f90bd4712d3895a498aac121de471 /svx | |
parent | 67fe42070332709823f0b00e6311809bc3e5341c (diff) |
sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmshell.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index b8f7bf2b4853..cd4b2d1605b4 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -492,7 +492,7 @@ void FmFormShell::Execute(SfxRequest &rReq) case SID_FM_SCROLLBAR: case SID_FM_SPINBUTTON: { - SFX_REQUEST_ARG( rReq, pGrabFocusItem, SfxBoolItem, SID_FM_TOGGLECONTROLFOCUS, false ); + SFX_REQUEST_ARG(rReq, pGrabFocusItem, SfxBoolItem, SID_FM_TOGGLECONTROLFOCUS); if ( pGrabFocusItem && pGrabFocusItem->GetValue() ) { // see below SfxViewShell* pShell = GetViewShell(); @@ -602,7 +602,7 @@ void FmFormShell::Execute(SfxRequest &rReq) break; case SID_FM_SHOW_PROPERTY_BROWSER: { - SFX_REQUEST_ARG( rReq, pShowItem, SfxBoolItem, SID_FM_SHOW_PROPERTIES, false ); + SFX_REQUEST_ARG(rReq, pShowItem, SfxBoolItem, SID_FM_SHOW_PROPERTIES); bool bShow = true; if ( pShowItem ) bShow = pShowItem->GetValue(); @@ -614,7 +614,7 @@ void FmFormShell::Execute(SfxRequest &rReq) case SID_FM_PROPERTIES: { // PropertyBrowser anzeigen - SFX_REQUEST_ARG(rReq, pShowItem, SfxBoolItem, nSlot, false); + SFX_REQUEST_ARG(rReq, pShowItem, SfxBoolItem, nSlot); bool bShow = pShowItem == nullptr || pShowItem->GetValue(); InterfaceBag aOnlyTheForm; @@ -628,7 +628,7 @@ void FmFormShell::Execute(SfxRequest &rReq) case SID_FM_CTL_PROPERTIES: { - SFX_REQUEST_ARG(rReq, pShowItem, SfxBoolItem, nSlot, false); + SFX_REQUEST_ARG(rReq, pShowItem, SfxBoolItem, nSlot); bool bShow = pShowItem == nullptr || pShowItem->GetValue(); OSL_ENSURE( GetImpl()->onlyControlsAreMarked(), "FmFormShell::Execute: ControlProperties should be disabled!" ); @@ -665,7 +665,7 @@ void FmFormShell::Execute(SfxRequest &rReq) case SID_FM_DESIGN_MODE: { - SFX_REQUEST_ARG(rReq, pDesignItem, SfxBoolItem, nSlot, false); + SFX_REQUEST_ARG(rReq, pDesignItem, SfxBoolItem, nSlot); bool bDesignMode = pDesignItem ? pDesignItem->GetValue() : !m_bDesignMode; SetDesignMode( bDesignMode ); if ( m_bDesignMode == bDesignMode ) |