summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_ooxmlexport11.mk
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-10-28 09:14:32 +0300
committerJustin Luth <justin_luth@sil.org>2017-10-30 06:16:24 +0100
commit9b8a99a1886997f91535ed613e50b3691c716ea1 (patch)
treefe22c6a7e3911d3b27b396c3727762b28f21c881 /sw/CppunitTest_sw_ooxmlexport11.mk
parentd30522e46ca884e9bc74af21711d9537e8118859 (diff)
tdf#92524 ooxmlexport: recognize COL_AUTO for RES_BACKGROUND
FormatBackground was always returning the actual color instead of AUTO when the color was COL_AUTO because ConvertColor is being passed Color.GetRGBColor() instead of just Color. There are three sections here: -XML_fillcolor: looks like it accepts values like "green" and "teal". Unclear from documenation whether auto is allowed. -XML_srgbClr: only accepts rgb number, not auto -XML_fill: needs this fix - test document available. Since the section can't globally handle "auto", I left XML_fillcolor alone, waiting for a proof bug report. Change-Id: Idecb6a32fba814a6fb3aeb6cc015d793ba6f8cf9 Reviewed-on: https://gerrit.libreoffice.org/43975 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw/CppunitTest_sw_ooxmlexport11.mk')
-rw-r--r--sw/CppunitTest_sw_ooxmlexport11.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_ooxmlexport11.mk b/sw/CppunitTest_sw_ooxmlexport11.mk
new file mode 100644
index 000000000000..654ab04fbc1b
--- /dev/null
+++ b/sw/CppunitTest_sw_ooxmlexport11.mk
@@ -0,0 +1,14 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+#*************************************************************************
+
+$(eval $(call sw_ooxmlexport_test,11))
+
+# vim: set noet sw=4 ts=4: