diff options
author | Justin Luth <justin.luth@collabora.com> | 2022-11-23 08:15:15 -0500 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-11-28 09:33:17 +0100 |
commit | c74ff490903ee04725e9dfee6fdc3598a3a61190 (patch) | |
tree | 93c3668dc470b03dbfe457e665864a0a8c51bcbd /sw/inc | |
parent | a57b12fdf3787def3a3cd5658118420959b4ad7f (diff) |
tdf#151548 ContentControls: Add Invalidate()
Up until now, all changes made to a content control
have been triggered by the UI.
However, VBA makes changes by code,
and those property changes were just being ignored
until the control received the focus.
Change-Id: Ife865dd493f7eae4d4e95096071f05b8c27d51db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143194
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/textcontentcontrol.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/textcontentcontrol.hxx b/sw/inc/textcontentcontrol.hxx index 78a4d5120b1b..156b44804195 100644 --- a/sw/inc/textcontentcontrol.hxx +++ b/sw/inc/textcontentcontrol.hxx @@ -42,6 +42,7 @@ public: void ChgTextNode(SwTextNode* pNode); SwTextNode* GetTextNode() const; + void Invalidate(bool bKeepPlaceholderStatus = true); void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; |