diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2016-11-19 19:44:10 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-11-21 08:48:15 +0000 |
commit | 75346b4144b47d16d28f4c944199e366e97363ad (patch) | |
tree | e19740d009c4fffa0897895e17f4d77a97f10b9b /sfx2 | |
parent | 04f49d0375788239d0c636470d4c971e3bbc73f7 (diff) |
Kill the AutoPilotPresentations UNO command
The presentation wizard was removed in
bb8040595c9b6f0ccde39e6833f27a50abb891d8 but the
corresponding UNO command is still available.
Change-Id: I54e676672bb53d0283394a0ebffbe9f94f29d9c0
Reviewed-on: https://gerrit.libreoffice.org/30983
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/sdi/appslots.sdi | 5 | ||||
-rw-r--r-- | sfx2/sdi/sfx.sdi | 18 | ||||
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 3 |
3 files changed, 0 insertions, 26 deletions
diff --git a/sfx2/sdi/appslots.sdi b/sfx2/sdi/appslots.sdi index bd03c1276b0f..6da19553c177 100644 --- a/sfx2/sdi/appslots.sdi +++ b/sfx2/sdi/appslots.sdi @@ -283,11 +283,6 @@ shell SfxApplication [ ExecMethod = OfaExec_Impl; ] - SID_SD_AUTOPILOT // status(final|play) - [ - ExecMethod = OfaExec_Impl; - StateMethod = OfaState_Impl; - ] SID_NEWSD // status(final|play) [ ExecMethod = OfaExec_Impl; diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index dda5c788c5e5..0347532228af 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -5311,24 +5311,6 @@ SfxVoidItem NewXForms FN_XFORMS_INIT ] -SfxVoidItem AutoPilotPresentations SID_SD_AUTOPILOT -( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) -[ - AutoUpdate = FALSE, - FastCall = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = TRUE, - RecordAbsolute = FALSE, - RecordPerSet; - - AccelConfig = FALSE, - MenuConfig = TRUE, - ToolBoxConfig = FALSE, - GroupId = GID_APPLICATION; -] - - SfxVoidItem NewPresentation SID_NEWSD ( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) [ diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index e804007ce55c..de9b8af352f0 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -1615,7 +1615,6 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq ) break; } - case SID_SD_AUTOPILOT : case SID_NEWSD : { SvtModuleOptions aModuleOpt; @@ -1694,8 +1693,6 @@ void SfxApplication::OfaState_Impl(SfxItemSet &rSet) rSet.DisableItem( FN_XFORMS_INIT ); } - if ( !aModuleOpt.IsImpress() ) - rSet.DisableItem( SID_SD_AUTOPILOT ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |