summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-02-01 18:39:51 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-02-02 09:32:36 +0000
commit11d605cc5a0c221d2423b6e63f502db660d085d2 (patch)
tree018a88d0fe4e56ec0c69a40596227cb70dfdf847 /svx/source/tbxctrls
parent8b65dec8e0fdfc8564597e90aff91b971e23f7ce (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 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbxdrctl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbxdrctl.cxx b/svx/source/tbxctrls/tbxdrctl.cxx
index 43af4f8744e5..84f73df3e8c6 100644
--- a/svx/source/tbxctrls/tbxdrctl.cxx
+++ b/svx/source/tbxctrls/tbxdrctl.cxx
@@ -33,7 +33,7 @@
#include "svx/tbxcolor.hxx"
#include <com/sun/star/frame/XLayoutManager.hpp>
-SFX_IMPL_TOOLBOX_CONTROL(SvxTbxCtlDraw, SfxAllEnumItem);
+SFX_IMPL_TOOLBOX_CONTROL(SvxTbxCtlDraw, SfxBoolItem);
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;