[Libreoffice-commits] core.git: svx/source svx/uiconfig

Szymon Kłos eszkadev at gmail.com
Mon Jul 4 08:13:33 UTC 2016


 svx/source/sidebar/paragraph/ParaPropertyPanel.cxx |    4 ----
 svx/uiconfig/ui/sidebarparagraph.ui                |    2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

New commits:
commit d430e8e55f95e95f41bf6c7a7534fdb5bd190614
Author: Szymon Kłos <eszkadev at gmail.com>
Date:   Mon Jul 4 10:12:42 2016 +0200

    sidebar: adaptable paragraph indent icon size
    
    Change-Id: I4f000ffb3fee660e6bf9efa9592617f1d037f17c

diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
index d4cc846..98fb676 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -167,11 +167,7 @@ void ParaPropertyPanel::InitToolBoxIndent()
     mpRightIndent->SetModifyHdl( aLink );
     mpFLineIndent->SetModifyHdl( aLink );
 
-    const sal_uInt16 nIdIncrement = mpTbxIndent_IncDec->GetItemId(UNO_INCREMENTINDENT);
-    const sal_uInt16 nIdDecrement = mpTbxIndent_IncDec->GetItemId(UNO_DECREMENTINDENT);
     const sal_uInt16 nIdHanging   = mpTbxIndent_IncDec->GetItemId(UNO_HANGINGINDENT);
-    mpTbxIndent_IncDec->SetItemImage(nIdIncrement, maIncIndentControl.GetIcon());
-    mpTbxIndent_IncDec->SetItemImage(nIdDecrement, maDecIndentControl.GetIcon());
     mpTbxIndent_IncDec->SetItemImage(nIdHanging, maIndHang);
 
     mpTbxIndent_IncDec->SetSelectHdl(LINK( this, ParaPropertyPanel, ClickIndent_IncDec_Hdl_Impl ));
diff --git a/svx/uiconfig/ui/sidebarparagraph.ui b/svx/uiconfig/ui/sidebarparagraph.ui
index bc69e1a..1a87334 100644
--- a/svx/uiconfig/ui/sidebarparagraph.ui
+++ b/svx/uiconfig/ui/sidebarparagraph.ui
@@ -436,7 +436,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkToolbar" id="indent">
+              <object class="sfxlo-SidebarToolBox" id="indent">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="has_tooltip">True</property>


More information about the Libreoffice-commits mailing list