Kaydet (Commit) a861a234 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

tdf#91944 Fix inc/dec indent buttons in impress

Regression from ed6b7d97.
These buttons are implemented inside the sidebar, so just
changing command names in the ui file won't work.
Also, following the decision to use indent buttons across all
modules, there is no need for 2 separate toolboxes anymore.

Change-Id: Id9af0cd10fd0517be86b9793c187cd6508029732
Reviewed-on: https://gerrit.libreoffice.org/16199Reviewed-by: 's avatarMaxim Monastirsky <momonasmon@gmail.com>
Tested-by: 's avatarMaxim Monastirsky <momonasmon@gmail.com>
üst e6fe508d
......@@ -83,7 +83,6 @@ private:
VclPtr<SvxRelativeField> mpTopDist;
VclPtr<SvxRelativeField> mpBottomDist;
VclPtr<ToolBox> mpTbxIndent_IncDec;
VclPtr<ToolBox> mpTbxProDemote;
VclPtr<SvxRelativeField> mpLeftIndent;
VclPtr<SvxRelativeField> mpRightIndent;
VclPtr<SvxRelativeField> mpFLineIndent;
......@@ -94,8 +93,6 @@ private:
// Data Member
long maTxtLeft;
bool mbOutLineLeft;
bool mbOutLineRight;
long maUpper;
long maLower;
......@@ -106,8 +103,6 @@ private:
// Control Items
::sfx2::sidebar::ControllerItem maLRSpaceControl;
::sfx2::sidebar::ControllerItem maULSpaceControl;
::sfx2::sidebar::ControllerItem maOutLineLeftControl;
::sfx2::sidebar::ControllerItem maOutLineRightControl;
::sfx2::sidebar::ControllerItem maDecIndentControl;
::sfx2::sidebar::ControllerItem maIncIndentControl;
::sfx2::sidebar::ControllerItem m_aMetricCtl;
......@@ -119,12 +114,10 @@ private:
DECL_LINK(ModifyIndentHdl_Impl, void*);
DECL_LINK_TYPED(ClickIndent_IncDec_Hdl_Impl, ToolBox*, void);
DECL_LINK_TYPED(ClickProDemote_Hdl_Impl, ToolBox*, void);
DECL_LINK(ULSpaceHdl_Impl, void*);
void StateChangedIndentImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
void StateChangedULImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
void StateChangeOutLineImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
void StateChangeIncDecImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
void initial();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment