diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-08-03 21:03:43 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-08-05 12:09:46 +0200 |
commit | 790ab54d7232d232ba84f17f285d4639ddba80d5 (patch) | |
tree | 677623e7b1848b1c881861be5c1a36315325438e /xmloff/CppunitTest_xmloff_text.mk | |
parent | 810b9dabc0b91629b0aadadb999b396a7879b385 (diff) |
tdf#130707 xmloff: survive <text:database-display> in editeng text
Regression from commit 28d67b792724a23015dec32fb0278b729f676736
(tdf#107776 sw ODF shape import: make is-textbox check more strict,
2019-08-26), now that we correctly identify what shape text to import as
"textbox" (Writer TextFrame) and what to import as editeng text, there
are documents out there that try to import mailmerge fields into
editeng-based shape text. Fix missing error handling there.
Note that the error is not just silently ignored, we do insert the field
result into the shape text, existing code provides this already.
(cherry picked from commit fd18d12efdfbe0e26d41d733edc711d0f40a7804)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100038
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit fec8b842d701cca0b79af9ea9f6192a8cf7610b0)
Change-Id: Ibe631ac5d94c1c7795dd00bad05fdcca0e6741a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100055
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'xmloff/CppunitTest_xmloff_text.mk')
-rw-r--r-- | xmloff/CppunitTest_xmloff_text.mk | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/xmloff/CppunitTest_xmloff_text.mk b/xmloff/CppunitTest_xmloff_text.mk new file mode 100644 index 000000000000..e3259672605b --- /dev/null +++ b/xmloff/CppunitTest_xmloff_text.mk @@ -0,0 +1,44 @@ +# -*- 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 gb_CppunitTest_CppunitTest,xmloff_text)) + +$(eval $(call gb_CppunitTest_use_externals,xmloff_text,\ + boost_headers \ +)) + +$(eval $(call gb_CppunitTest_add_exception_objects,xmloff_text, \ + xmloff/qa/unit/text \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,xmloff_text, \ + comphelper \ + cppu \ + embobj \ + sal \ + test \ + unotest \ +)) + +$(eval $(call gb_CppunitTest_use_sdk_api,xmloff_text)) + +$(eval $(call gb_CppunitTest_use_ure,xmloff_text)) +$(eval $(call gb_CppunitTest_use_vcl,xmloff_text)) + +$(eval $(call gb_CppunitTest_use_rdb,xmloff_text,services)) + +$(eval $(call gb_CppunitTest_use_custom_headers,xmloff_text,\ + officecfg/registry \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,xmloff_text)) + +# vim: set noet sw=4 ts=4: |