summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-10 09:33:39 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2020-09-11 14:21:16 +0200
commitb19e522654562b8f01d0b3af4078c43ce46834e4 (patch)
tree8880a212d052066ba63b96256a5b146af07c1f5c /include
parent505784b6840295ce1ffd33704ce91b4018a16c20 (diff)
tdf#131581 inhibit updates during all_foreach
Change-Id: I8494b4c9175e427bfb89696d49c2da7607af37ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102380 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/treelist.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx
index 85aba58f8818..46d3374d8caf 100644
--- a/include/vcl/treelist.hxx
+++ b/include/vcl/treelist.hxx
@@ -132,6 +132,7 @@ public:
);
void EnableInvalidate( bool bEnable );
+ bool IsEnableInvalidate() const { return mbEnableInvalidate; }
// Notify all Listeners
void InvalidateEntry( SvTreeListEntry* );