diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-01 18:39:51 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-02 09:32:36 +0000 |
commit | 11d605cc5a0c221d2423b6e63f502db660d085d2 (patch) | |
tree | 018a88d0fe4e56ec0c69a40596227cb70dfdf847 /sc/sdi | |
parent | 8b65dec8e0fdfc8564597e90aff91b971e23f7ce (diff) |
tdf#84843 Stop using PseudoSlots for drawing slots
Instead of fighting with this obsolete thing, let's
just kill it. This fixes disabling in read-only doc,
as well as pressed/unpressed states.
Change-Id: I4d06ba3395024ffd09d77c6d22653a2c5e227115
Reviewed-on: https://gerrit.libreoffice.org/22010
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/tabvwsh.sdi | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sc/sdi/tabvwsh.sdi b/sc/sdi/tabvwsh.sdi index 8999ad8fb293..86878ec103f3 100644 --- a/sc/sdi/tabvwsh.sdi +++ b/sc/sdi/tabvwsh.sdi @@ -97,7 +97,21 @@ interface BaseSelection //SID_CHOOSE_CONTROLS [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] SID_OBJECT_SELECT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] - SID_INSERT_DRAW [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_LINE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_RECT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_ELLIPSE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_POLYGON_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_BEZIER_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_FREELINE_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_ARC [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_PIE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_CIRCLECUT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_TEXT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_TEXT_VERTICAL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_TEXT_MARQUEE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_CAPTION [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_DRAW_CAPTION_VERTICAL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] + SID_INSERT_DRAW [] SID_FONTWORK_GALLERY_FLOATER [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ] SID_DRAWTBX_CS_BASIC [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] SID_DRAWTBX_CS_SYMBOL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ] |