summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2022-11-17 06:20:14 -0500
committerJustin Luth <jluth@mail.com>2022-11-18 14:07:57 +0100
commite960d3fea28fe4c180dc5612ce00682e432e9772 (patch)
tree017377ab1050ac461e01dc3e72b5d58d8a2520fb /writerfilter
parenta85aeafdcf32c0452f2148aaa2b4e71d12154ec3 (diff)
sw content controls: fix SdtHelper missing clear() items
Found during a code read, while attempting to add another property. Change-Id: I342c51c81f23e1e3178e7d412f9af685f3fd4ae2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142839 Tested-by: Justin Luth <jluth@mail.com> Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/SdtHelper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index cf86a629219b..6f08c81559cf 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -516,6 +516,10 @@ void SdtHelper::clear()
m_bChecked = false;
m_aCheckedState.clear();
m_aUncheckedState.clear();
+ m_aPlaceholderDocPart.clear();
+ m_aColor.clear();
+ m_aAlias.clear();
+ m_aTag.clear();
}
void SdtHelper::SetPlaceholderDocPart(const OUString& rPlaceholderDocPart)