summaryrefslogtreecommitdiff
path: root/sw/inc/swcrsr.hxx
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga.extern@allotropia.de>2023-04-08 16:05:26 +0200
committerBalazs Varga <balazs.varga.extern@allotropia.de>2023-04-17 23:33:09 +0200
commit6feafa2c5a2c593b1852ac44e2ea88eb9375c01d (patch)
tree68538cea0deb9ba8fef471c96c53cd0f006cd393 /sw/inc/swcrsr.hxx
parent5713871497f81bd4b4196a217c9084f2db3e6614 (diff)
tdf#130199 sw Confirm deletion of hidden sections
To enhance the existing discoverability of hidden sections via Navigator by a confirmation box when a hidden section is to be deleted. Also add an option to switch on/off this warning message named "ShowWarningHiddenSection". The default setting is on. Change-Id: I91a1a32524f8d8d8fd0f230c142654df4367e729 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150231 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r--sw/inc/swcrsr.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index 486507b23c4e..570780080f5e 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -283,6 +283,8 @@ public:
SwCursor* MakeBoxSels( SwCursor* pCurrentCursor );
// Any boxes protected?
bool HasReadOnlyBoxSel() const;
+ // Any boxes hidden?
+ bool HasHiddenBoxSel() const;
// Has table cursor been changed? If so, save new values immediately.
bool IsCursorMovedUpdate();