summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_ooxmlexport17.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-09-15 15:26:41 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-09-15 16:45:57 +0200
commitf2e80f9f9b5d53ed270687f000bcb8b76dd81fb9 (patch)
tree2ed1adcc0527bb857c82bfc7fb9e9b5c9fef216d /sw/CppunitTest_sw_ooxmlexport17.mk
parent66df55d80034e924d6ca6c05b576e417873f358c (diff)
sw: add a DisableBuiltinStyles API setting
The built-in Writer styles (e.g. Caption) are written to each & every document to help compatibility: this way if the built-in style changes, existing documents are not changing. While this is a good default, sometimes document conversion workflows want to ensure that no new styles are added to the document during conversion. This new settings allows to opt in for this behavior in case not polluting the doc model is more important than the negative effects of changing built-in styles. Change-Id: I43130a215ee10ee6952724dbef2caab7174ff77f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122154 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/CppunitTest_sw_ooxmlexport17.mk')
-rw-r--r--sw/CppunitTest_sw_ooxmlexport17.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_ooxmlexport17.mk b/sw/CppunitTest_sw_ooxmlexport17.mk
index 80316e1c0ca4..bcf27750c529 100644
--- a/sw/CppunitTest_sw_ooxmlexport17.mk
+++ b/sw/CppunitTest_sw_ooxmlexport17.mk
@@ -11,4 +11,8 @@
$(eval $(call sw_ooxmlexport_test,17))
+$(eval $(call gb_CppunitTest_use_custom_headers,sw_ooxmlexport17,\
+ officecfg/registry \
+))
+
# vim: set noet sw=4 ts=4: