# -*- 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,sax_attributes)) $(eval $(call gb_CppunitTest_use_common_precompiled_header,sax_attributes)) $(eval $(call gb_CppunitTest_add_exception_objects,sax_attributes, \ sax/qa/cppunit/attributes \ )) $(eval $(call gb_CppunitTest_use_libraries,sax_attributes, \ cppu \ cppuhelper \ sal \ sax \ )) $(eval $(call gb_CppunitTest_use_sdk_api,sax_attributes)) $(eval $(call gb_CppunitTest_use_ure,sax_attributes)) # vim: set noet sw=4 ts=4: e='aoo/trunk'>aoo/trunk LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svx/qa/unit/data/tdf103474_commandT_CaseZeroHeight.odp
AgeCommit message (Collapse)Author
2020-06-08tdf#103474 handle quarter angles before using atan2Regina Henschel
sin(basegfx::deg2rad(fEAngleDeg)) does not result in 0 for fEAngleDeg=180 because of rounding errors and therefore atan2 later in the code gives wrong angle. Because the corresponding circle angle is the same as the ellipse angle for 0°, 90°, 180° and 270°, these angles are now handled before using atan2. Change-Id: Iae2a4d188b837ff787f2af4d79f874ba21c9aa2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95772 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>