diff options
author | Jim Raykowski <raykowj@gmail.com> | 2022-10-28 16:19:33 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2022-10-30 04:25:14 +0100 |
commit | 96bb91de5b00e08b42352dcf34195f92029f01b6 (patch) | |
tree | d5b375b1bace60403d73c355bc629784df4115bd /sw/source/uibase/inc | |
parent | 9cd0f4c2d25462feba0ffcbd906c199273821243 (diff) |
Outline folding: Use ToggleOutlineContentVisibility function here
and add comments to explain the bSubs parameter
Change-Id: I4a6874363d7355af2709607496a8eb6197eb164b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142003
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/edtwin.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx index f4dda4c92165..e2a7ca97bcab 100644 --- a/sw/source/uibase/inc/edtwin.hxx +++ b/sw/source/uibase/inc/edtwin.hxx @@ -288,6 +288,8 @@ public: const SwTextFrame* GetSavedOutlineFrame() const { return m_pSavedOutlineFrame; } void SetSavedOutlineFrame(SwTextFrame* pFrame) { m_pSavedOutlineFrame = pFrame; } + // bSubs set true, sets all sub level outline content to same visibility as nOutlinePos. + // It is only applicable when not treating sub outline levels as content. void ToggleOutlineContentVisibility(const size_t nOutlinePos, const bool bSubs); virtual FactoryFunction GetUITestFactory() const override; |