diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-09-10 11:01:26 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-09-11 11:13:23 +0000 |
commit | a212ef2b6ebadb22a9abf6d042aa2b5fd9ac1cf0 (patch) | |
tree | aee754ccd8da5e209278c0ffe99c49e7a991f371 /sw/source/ui | |
parent | 88b6dd3ea77ca9f6d5fac2965cea6ff0634e6ba5 (diff) |
tdf#93901: apply handling in style/edit dialog improved
introduced SfxTabPage::ChangesApplied() to enable resetting values
to their initial state while editing styles
Change-Id: I60fd68d8464e12e795b0e0d2f2e53882a225c181
Reviewed-on: https://gerrit.libreoffice.org/18467
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/chrdlg/numpara.cxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx index 41c68a41f63b..70d7ae6416c0 100644 --- a/sw/source/ui/chrdlg/numpara.cxx +++ b/sw/source/ui/chrdlg/numpara.cxx @@ -185,7 +185,17 @@ bool SwParagraphNumTabPage::FillItemSet( SfxItemSet* rSet ) return bModified; } -void SwParagraphNumTabPage::Reset( const SfxItemSet* rSet ) +void SwParagraphNumTabPage::ChangesApplied() +{ + m_pOutlineLvLB->SaveValue(); + m_pNumberStyleLB->SaveValue(); + m_pNewStartCB->SaveValue(); + m_pNewStartNumberCB->SaveValue(); + m_pCountParaCB->SaveValue(); + m_pRestartParaCountCB->SaveValue(); + m_pRestartNF->SaveValue(); +} +void SwParagraphNumTabPage::Reset(const SfxItemSet* rSet) { bool bHasNumberStyle = false; |