diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-02-24 21:24:33 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-02-25 09:01:51 +0100 |
commit | 58fab0b920303e58d3ac3be28b22763970085f02 (patch) | |
tree | a56c41860d51aa99476faf63d54eea1512cd391b /sw/CppunitTest_sw_core_frmedt.mk | |
parent | ee4ddf428e2ef85c710e1851ab9b9e7a2316d51b (diff) |
tdf#91219 sw: don't allow anchoring a shape+textbox into itself
We already have code that detects this in the simple fly frame case,
extend that to cover the "paired fly frame + draw shape" case as well.
Change-Id: I4b3c1d600407436b239fee311ae6bfe837804241
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89381
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/CppunitTest_sw_core_frmedt.mk')
-rw-r--r-- | sw/CppunitTest_sw_core_frmedt.mk | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_core_frmedt.mk b/sw/CppunitTest_sw_core_frmedt.mk new file mode 100644 index 000000000000..5f283bdadfba --- /dev/null +++ b/sw/CppunitTest_sw_core_frmedt.mk @@ -0,0 +1,73 @@ +# -*- 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,sw_core_frmedt)) + +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_core_frmedt)) + +$(eval $(call gb_CppunitTest_add_exception_objects,sw_core_frmedt, \ + sw/qa/core/frmedt/frmedt \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,sw_core_frmedt, \ + comphelper \ + cppu \ + cppuhelper \ + sal \ + sfx \ + svxcore \ + sw \ + test \ + unotest \ + utl \ + vcl \ + svt \ + tl \ + svl \ +)) + +$(eval $(call gb_CppunitTest_use_externals,sw_core_frmedt,\ + boost_headers \ + libxml2 \ +)) + +$(eval $(call gb_CppunitTest_set_include,sw_core_frmedt,\ + -I$(SRCDIR)/sw/inc \ + -I$(SRCDIR)/sw/source/core/inc \ + -I$(SRCDIR)/sw/source/uibase/inc \ + -I$(SRCDIR)/sw/qa/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_api,sw_core_frmedt,\ + udkapi \ + offapi \ + oovbaapi \ +)) + +$(eval $(call gb_CppunitTest_use_ure,sw_core_frmedt)) +$(eval $(call gb_CppunitTest_use_vcl,sw_core_frmedt)) + +$(eval $(call gb_CppunitTest_use_rdb,sw_core_frmedt,services)) + +$(eval $(call gb_CppunitTest_use_custom_headers,sw_core_frmedt,\ + officecfg/registry \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,sw_core_frmedt)) + +$(eval $(call gb_CppunitTest_use_uiconfigs,sw_core_frmedt, \ + modules/swriter \ +)) + +$(eval $(call gb_CppunitTest_use_more_fonts,sw_core_frmedt)) + +# vim: set noet sw=4 ts=4: |