cui/source/tabpages/paragrph.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
New commits: commit 636898660b09382054855c5eaca3c79eb3bbeee3 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jan 16 10:55:07 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Jan 22 18:10:53 2019 +0100 Resolves: tdf#122458 not enough values saved Change-Id: Id71db408e756b273f8a90b15f86c76285cc2b1e1 Reviewed-on: https://gerrit.libreoffice.org/66433 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits