office-gobmx/sc/CppunitTest_sc_shapetest.mk
Regina Henschel f44140bebb tdf#119191 Implement SdrObjCustomShape::AdjustToMaxRect
and use in ScDrawLayer::RecalcPos and in ScDrawView::FitToCellSize().
Error was, that it was assumed, that SdObjCustomShape::SetSnapRect()
changes the shape so, that it fits into the passed rectangle. That is
true for other type of shapes, but not for custom shapes.

Change-Id: Ib00d52087509f459165000abf43c7f244980a01b
Reviewed-on: https://gerrit.libreoffice.org/84216
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2019-12-11 23:42:39 +01:00

53 lines
1.4 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,sc_shapetest))
$(eval $(call gb_CppunitTest_use_external,sc_shapetest,boost_headers))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_shapetest))
$(eval $(call gb_CppunitTest_add_exception_objects,sc_shapetest, \
sc/qa/unit/scshapetest \
))
$(eval $(call gb_CppunitTest_use_libraries,sc_shapetest, \
cppu \
sal \
sc \
sfx \
subsequenttest \
svx \
svxcore \
test \
tl \
unotest \
utl \
))
$(eval $(call gb_CppunitTest_set_include,sc_shapetest,\
-I$(SRCDIR)/sc/source/ui/inc \
-I$(SRCDIR)/sc/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_sdk_api,sc_shapetest))
$(eval $(call gb_CppunitTest_use_ure,sc_shapetest))
$(eval $(call gb_CppunitTest_use_vcl,sc_shapetest))
$(eval $(call gb_CppunitTest_use_components,sc_shapetest,\
$(sc_unoapi_common_components) \
))
$(eval $(call gb_CppunitTest_use_configuration,sc_shapetest))
# vim: set noet sw=4 ts=4: