summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-16 10:55:07 +0000
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2019-01-16 20:06:28 +0100
commit850d31f97e1f47b646a9e296183b142dbfe0ba9b (patch)
tree59bc6939359dcc717f12a5e3b403528519721110
parent69fcd630f18041c4363de2a1e2aa17d5c53ddca1 (diff)
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@googlemail.com>
-rw-r--r--cui/source/tabpages/paragrph.cxx12
1 files changed, 2 insertions, 10 deletions
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