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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 21 16:51:00 UTC 2019


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

New commits:
commit ef18fde840c1738a3e113b4a0f740eaf997e59b6
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jan 16 10:55:07 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jan 21 17:50:38 2019 +0100

    Resolves: tdf#122458 not enough values saved
    
    Change-Id: Id71db408e756b273f8a90b15f86c76285cc2b1e1
    Reviewed-on: https://gerrit.libreoffice.org/66434
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
    Tested-by: Xisco Faulí <xiscofauli at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index fde0bffd9804..4ea53b306251 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -591,9 +591,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