[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 16 19:06:53 UTC 2019


 cui/source/tabpages/paragrph.cxx |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

New commits:
commit 850d31f97e1f47b646a9e296183b142dbfe0ba9b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jan 16 10:55:07 2019 +0000
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Wed Jan 16 20:06:28 2019 +0100

    Resolves: tdf#122458 not enough values saved
    
    Change-Id: Id71db408e756b273f8a90b15f86c76285cc2b1e1
    Reviewed-on: https://gerrit.libreoffice.org/66439
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 5f3af968def6..70c353abc54a 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -590,9 +590,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
     // because for Impress the min of first-line indent depends on value of
     // left-indent!
     ELRLoseFocus();
-    m_xAutoCB->save_state();
-    m_xContextualCB->save_state();
-    m_xLineDist->save_value();
+    ChangesApplied();
 }
 
 void SvxStdParagraphTabPage::ChangesApplied()
@@ -869,12 +867,6 @@ void SvxStdParagraphTabPage::Init_Impl()
     m_xRightIndent->connect_value_changed(aLink2);
 
     Link<weld::MetricSpinButton&,void> aLink = LINK(this, SvxStdParagraphTabPage, ModifyHdl_Impl);
-#if 0
-    //TO DO
-    m_xFLineIndent->SetModifyHdl( aLink );
-    m_xLeftIndent->SetModifyHdl( aLink );
-    m_xRightIndent->SetModifyHdl( aLink );
-#endif
     m_xTopDist->connect_value_changed(aLink);
     m_xBottomDist->connect_value_changed(aLink);
 
@@ -943,7 +935,7 @@ void SvxStdParagraphTabPage::EnableAbsLineDist(long nMinTwip)
     nMinFixDist = nMinTwip;
 }
 
-void    SvxStdParagraphTabPage::PageCreated(const SfxAllItemSet& aSet)
+void SvxStdParagraphTabPage::PageCreated(const SfxAllItemSet& aSet)
 {
 
 /* different bit represent call to different method of SvxStdParagraphTabPage


More information about the Libreoffice-commits mailing list