office-gobmx/xmloff/CppunitTest_xmloff_text.mk
Miklos Vajna fd18d12efd tdf#130707 xmloff: survive <text:database-display> in editeng text
Regression from commit 28d67b7927
(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.

Change-Id: Ibe631ac5d94c1c7795dd00bad05fdcca0e6741a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100028
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-04 07:56:17 +02:00

44 lines
1.2 KiB
Makefile

# -*- 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: