summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorAttila Szűcs <attila.szucs@collabora.com>2023-06-29 18:32:27 +0200
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-16 11:39:39 +0200
commit3649dc202bedf72e37c77993a1f7027bfdfc6d9e (patch)
tree6edc4ecfcc487162a2ee616b7ad1b4d94d9bcb46 /sw/inc
parent94426f366beff15784bcd2cd852c980e8d5a4467 (diff)
LOK: Navigator: fix expand problems
Save/load content types' expanded status to view, and make sure it is synchronized with client. Treeviews now receive/send collapse event/status from/to client. I've rewritten the way how headings are opened by default (because synch of collapsed status broke that, as sub-headings were not expanded at core side). Change-Id: I80f5b4d99fe5224391a92c4609f94ddbcf37b8ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153771 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b95750af717e0693a13c3ef35277779e1394e0ae) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158016 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/view.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index c5967bb4e213..523f86cc8468 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -355,6 +355,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
public: // #i123922# Needs to be called from a 2nd place now as a helper method
SAL_DLLPRIVATE bool InsertGraphicDlg( SfxRequest& );
+ sal_Int32 m_nNaviExpandedStatus = -1;
protected: