tdf#151548 ContentControls: Add Invalidate()
commitc74ff490903ee04725e9dfee6fdc3598a3a61190
authorJustin Luth <justin.luth@collabora.com>
Wed, 23 Nov 2022 13:15:15 +0000 (23 08:15 -0500)
committerMiklos Vajna <vmiklos@collabora.com>
Mon, 28 Nov 2022 08:33:17 +0000 (28 09:33 +0100)
tree93c3668dc470b03dbfe457e665864a0a8c51bcbd
parenta57b12fdf3787def3a3cd5658118420959b4ad7f
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>
sw/inc/textcontentcontrol.hxx
sw/source/core/txtnode/attrcontentcontrol.cxx
sw/source/ui/vba/vbacontentcontrol.cxx
sw/source/ui/vba/vbacontentcontrollistentry.cxx