diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/sdi/svx.sdi | 4 | ||||
-rw-r--r-- | svx/sdi/svxitems.sdi | 22 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbxdrctl.cxx | 2 |
3 files changed, 2 insertions, 26 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 2c7fae317474..6856a07d9cfb 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -3333,7 +3333,7 @@ SfxBoolItem DrawSelect SID_DRAW_SELECT ] -SvxDrawToolItem InsertDraw SID_INSERT_DRAW +SfxBoolItem InsertDraw SID_INSERT_DRAW [ /* flags: */ @@ -3357,8 +3357,6 @@ SvxDrawToolItem InsertDraw SID_INSERT_DRAW StatusBarConfig = FALSE, ToolBoxConfig = TRUE, GroupId = GID_DRAWING; - PseudoSlots = TRUE; - PseudoPrefix = SID_DRAW; ] diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi index 5664a2b77173..4fa991c5bb58 100644 --- a/svx/sdi/svxitems.sdi +++ b/svx/sdi/svxitems.sdi @@ -76,27 +76,6 @@ enum SvxChooseControlEnum }; item SvxChooseControlEnum SvxChooseControlItem; -enum SvxDrawToolEnum -{ - SVX_SNAP_DRAW_SELECT, - - SVX_SNAP_DRAW_LINE, - SVX_SNAP_DRAW_RECT, - SVX_SNAP_DRAW_ELLIPSE, - SVX_SNAP_DRAW_POLYGON_NOFILL, - SVX_SNAP_DRAW_BEZIER_NOFILL, - SVX_SNAP_DRAW_FREELINE_NOFILL, - SVX_SNAP_DRAW_ARC, - SVX_SNAP_DRAW_PIE, - SVX_SNAP_DRAW_CIRCLECUT, - SVX_SNAP_DRAW_TEXT, - SVX_SNAP_DRAW_TEXT_VERTICAL, - SVX_SNAP_DRAW_TEXT_MARQUEE, - SVX_SNAP_DRAW_CAPTION, - SVX_SNAP_DRAW_CAPTION_VERTICAL -}; -item SvxDrawToolEnum SvxDrawToolEnumItem; - enum SvxDrawAlignEnum { SVX_OBJECT_ALIGN_LEFT, @@ -341,7 +320,6 @@ item UINT16 SvxPropSizeItem; // derived from UInt16Item item BOOL SvxShadowedItem; item SvxDrawBezierEnum SvxDrawBezierItem; item SvxDrawAlignEnum SvxDrawAlignItem; -item SvxDrawToolEnum SvxDrawToolItem; item BYTE SvxWidowsItem; item BOOL SvxWordLineModeItem; item SvxCellHorJustifyEnum SvxHorJustifyItem; 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; |