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

heiko tietze tietze.heiko at gmail.com
Wed Mar 28 17:50:33 UTC 2018


 sw/source/ui/table/convert.cxx             |    4 ----
 sw/source/uibase/inc/convert.hxx           |    1 -
 sw/uiconfig/swriter/ui/converttexttable.ui |   19 ++-----------------
 3 files changed, 2 insertions(+), 22 deletions(-)

New commits:
commit b57e8b5e531408236af5e3be69b9190c646a6eab
Author: heiko tietze <tietze.heiko at gmail.com>
Date:   Mon Mar 26 14:55:56 2018 +0200

    tdf#116407 - option "Border" for new table redundant
    
    Function removed
    
    Change-Id: I2346a0ba91afb72c7c68a6d50fc103d0409ae374
    Reviewed-on: https://gerrit.libreoffice.org/51896
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>

diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx
index 8374e5865f04..e5c8f9ffdefe 100644
--- a/sw/source/ui/table/convert.cxx
+++ b/sw/source/ui/table/convert.cxx
@@ -75,8 +75,6 @@ void SwConvertTableDlg::GetValues(  sal_Unicode& rDelim,
     }
 
     sal_uInt16 nInsMode = 0;
-    if (m_xBorderCB->get_active())
-        nInsMode |= tabopts::DEFAULT_BORDER;
     if (m_xHeaderCB->get_active())
         nInsMode |= tabopts::HEADLINE;
     if (m_xRepeatHeaderCB->get_sensitive() && m_xRepeatHeaderCB->get_active())
@@ -107,7 +105,6 @@ SwConvertTableDlg::SwConvertTableDlg(SwView& rView, bool bToTable)
     , m_xRepeatRows(m_xBuilder->weld_container("repeatrows"))
     , m_xRepeatHeaderNF(m_xBuilder->weld_spin_button("repeatheadersb"))
     , m_xDontSplitCB(m_xBuilder->weld_check_button("dontsplitcb"))
-    , m_xBorderCB(m_xBuilder->weld_check_button("bordercb"))
     , m_xAutoFormatBtn(m_xBuilder->weld_button("autofmt"))
     , sConvertTextTable(SwResId(STR_CONVERT_TEXT_TABLE))
     , pShell(&rView.GetWrtShell())
@@ -166,7 +163,6 @@ SwConvertTableDlg::SwConvertTableDlg(SwView& rView, bool bToTable)
     m_xHeaderCB->set_active(0 != (nInsTableFlags & tabopts::HEADLINE));
     m_xRepeatHeaderCB->set_active(aInsOpts.mnRowsToRepeat > 0);
     m_xDontSplitCB->set_active(0 == (nInsTableFlags & tabopts::SPLIT_LAYOUT));
-    m_xBorderCB->set_active(0!= (nInsTableFlags & tabopts::DEFAULT_BORDER));
 
     m_xHeaderCB->connect_clicked(LINK(this, SwConvertTableDlg, CheckBoxHdl));
     m_xRepeatHeaderCB->connect_clicked(LINK(this, SwConvertTableDlg, ReapeatHeaderCheckBoxHdl));
diff --git a/sw/source/uibase/inc/convert.hxx b/sw/source/uibase/inc/convert.hxx
index 9dfefc5fa642..90d1cfebf715 100644
--- a/sw/source/uibase/inc/convert.hxx
+++ b/sw/source/uibase/inc/convert.hxx
@@ -45,7 +45,6 @@ class SwConvertTableDlg : public weld::GenericDialogController
     std::unique_ptr<weld::SpinButton> m_xRepeatHeaderNF;
 
     std::unique_ptr<weld::CheckButton> m_xDontSplitCB;
-    std::unique_ptr<weld::CheckButton> m_xBorderCB;
     std::unique_ptr<weld::Button> m_xAutoFormatBtn;
 
     OUString        sConvertTextTable;
diff --git a/sw/uiconfig/swriter/ui/converttexttable.ui b/sw/uiconfig/swriter/ui/converttexttable.ui
index 08c2d89e81d9..eefb08de62e9 100644
--- a/sw/uiconfig/swriter/ui/converttexttable.ui
+++ b/sw/uiconfig/swriter/ui/converttexttable.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.2 -->
+<!-- Generated with glade 3.20.4 -->
 <interface domain="sw">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkAdjustment" id="adjustment1">
@@ -293,21 +293,6 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkCheckButton" id="bordercb">
-                            <property name="label" translatable="yes" context="converttexttable|bordercb">Border</property>
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="xalign">0</property>
-                            <property name="active">True</property>
-                            <property name="draw_indicator">True</property>
-                          </object>
-                          <packing>
-                            <property name="left_attach">0</property>
-                            <property name="top_attach">4</property>
-                          </packing>
-                        </child>
-                        <child>
                           <object class="GtkGrid" id="repeatrows">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
@@ -366,7 +351,7 @@
                           </object>
                           <packing>
                             <property name="left_attach">0</property>
-                            <property name="top_attach">5</property>
+                            <property name="top_attach">4</property>
                           </packing>
                         </child>
                       </object>


More information about the Libreoffice-commits mailing list