tdf#84843 Stop using PseudoSlots for drawing slots

Desktop / LibreOffice - Maxim Monastirsky [gmail.com] - 2 February 2016 03:32 UTC

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

11d605c tdf#84843 Stop using PseudoSlots for drawing slots
include/editeng/svxenum.hxx | 20 ------
sc/sdi/tabvwsh.sdi | 16 ++++-
sc/source/ui/app/typemap.cxx | 1 -
sc/source/ui/view/tabvwsh2.cxx | 115 ++++++++++------------------------
sd/sdi/ViewShellBase.sdi | 6 +-
sd/source/core/typemap.cxx | 1 -
starmath/sdi/smitems.sdi | 20 ------
svx/sdi/svx.sdi | 4 +-
svx/sdi/svxitems.sdi | 22 -------
svx/source/tbxctrls/tbxdrctl.cxx | 2 +-
sw/sdi/swriter.sdi | 2 +-
sw/sdi/viewsh.sdi | 69 ++++++++++++++++++++
sw/source/uibase/shells/slotadd.cxx | 1 -
sw/source/uibase/uiview/viewdraw.cxx | 37 +----------
sw/source/uibase/uiview/viewstat.cxx | 31 ++++++---
15 files changed, 144 insertions(+), 203 deletions(-)

Upstream: cgit.freedesktop.org


  • Share