# -*- 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_Library_Library,scfilt)) $(eval $(call gb_Library_set_componentfile,scfilt,sc/util/scfilt)) $(eval $(call gb_Library_set_include,scfilt,\ -I$(SRCDIR)/sc/source/core/inc \ -I$(SRCDIR)/sc/source/filter/inc \ -I$(SRCDIR)/sc/source/ui/inc \ -I$(SRCDIR)/sc/inc \ $$(INCLUDE) \ )) $(eval $(call gb_Library_set_precompiled_header,scfilt,$(SRCDIR)/sc/inc/pch/precompiled_scfilt)) $(eval $(call gb_Library_use_sdk_api,scfilt)) $(eval $(call gb_Library_use_custom_headers,scfilt,\ oox/generated \ officecfg/registry \ )) $(eval $(call gb_Library_use_externals,scfilt,\ boost_headers \ boostsystem \ mdds_headers \ )) $(eval $(call gb_Library_use_libraries,scfilt,\ basegfx \ comphelper \ cppu \ cppuhelper \ drawinglayer \ editeng \ for \ msfilter \ oox \ sal \ sax \ sb \ sc \ sfx \ sot \ svl \ svt \ svx \ svxcore \ tk \ tl \ ucbhelper \ utl \ vcl \ i18nlangtag \ $(gb_UWINAPI) \ )) $(eval $(call gb_Library_use_externals,scfilt,\ orcus \ orcus-parser \ zlib \ )) $(eval $(call gb_Library_add_exception_objects,scfilt,\ sc/source/filter/dif/difexp \ sc/source/filter/dif/difimp \ sc/source/filter/excel/colrowst \ sc/source/filter/excel/excdoc \ sc/source/filter/excel/excel \ sc/source/filter/excel/excform \ sc/source/filter/excel/excform8 \ sc/source/filter/excel/excimp8 \ sc/source/filter/excel/excrecds \ sc/source/filter/excel/exctools \ sc/source/filter/excel/expop2 \ sc/source/filter/excel/fontbuff \ sc/source/filter/excel/frmbase \ sc/source/filter/excel/impop \ sc/source/filter/excel/namebuff \ sc/source/filter/excel/read \ sc/source/filter/excel/tokstack \ sc/source/filter/excel/xechart \ sc/source/filter/excel/xecontent \ sc/source/filter/excel/xeescher \ sc/source/filter/excel/xeextlst \ sc/source/filter/excel/xeformula \ sc/source/filter/excel/xehelper \ sc/source/filter/excel/xelink \ sc/source/filter/excel/xename \ sc/source/filter/excel/xepage \ sc/source/filter/excel/xepivot \ sc/source/filter/excel/xerecord \ sc/source/filter/excel/xeroot \ sc/source/filter/excel/xestream \ sc/source/filter/excel/xestring \ sc/source/filter/excel/xestyle \ sc/source/filter/excel/xetable \ sc/source/filter/excel/xeview \ sc/source/filter/excel/xichart \ sc/source/filter/excel/xicontent \ sc/source/filter/excel/xiescher \ sc/source/filter/excel/xiformula \ sc/source/filter/excel/xihelper \ sc/source/filter/excel/xilink \ sc/source/filter/excel/xiname \ sc/source/filter/excel/xipage \ sc/source/filter/excel/xipivot \ sc/source/filter/excel/xiroot \ sc/source/filter/excel/xistream \ sc/source/filter/excel/xistring \ sc/source/filter/excel/xistyle \ sc/source/filter/excel/xiview \ sc/source/filter/excel/xladdress \ sc/source/filter/excel/xlchart \ sc/source/filter/excel/xlescher \ sc/source/filter/excel/xlformula \ sc/source/filter/excel/xlpage \ sc/source/filter/excel/xlpivot \ sc/source/filter/excel/xlroot \ sc/source/filter/excel/xlstyle \ sc/source/filter/excel/xltoolbar \ sc/source/filter/excel/xltools \ sc/source/filter/excel/xltracer \ sc/source/filter/excel/xlview \ sc/source/filter/ftools/fapihelper \ sc/source/filter/ftools/fprogressbar \ sc/source/filter/ftools/ftools \ sc/source/filter/ftools/sharedformulagroups \ sc/source/filter/html/htmlexp \ sc/source/filter/html/htmlexp2 \ sc/source/filter/html/htmlimp \ sc/source/filter/html/htmlpars \ sc/source/filter/lotus/filter \ sc/source/filter/lotus/lotattr \ sc/source/filter/lotus/lotform \ sc/source/filter/lotus/lotimpop \ sc/source/filter/lotus/lotread \ sc/source/filter/lotus/lotus \ sc/source/filter/lotus/memory \ sc/source/filter/lotus/op \ sc/source/filter/lotus/optab \ sc/source/filter/lotus/tool \ sc/source/filter/qpro/biff \ sc/source/filter/qpro/qpro \ sc/source/filter/qpro/qproform \ sc/source/filter/qpro/qprostyle \ sc/source/filter/rtf/eeimpars \ sc/source/filter/rtf/expbase \ sc/source/filter/rtf/rtfexp \ sc/source/filter/rtf/rtfimp \ sc/source/filter/rtf/rtfparse \ sc/source/filter/starcalc/collect \ sc/source/filter/starcalc/scflt \ sc/source/filter/starcalc/scfobj \ sc/source/filter/xcl97/XclExpChangeTrack \ sc/source/filter/xcl97/XclImpChangeTrack \ sc/source/filter/xcl97/xcl97esc \ sc/source/filter/xcl97/xcl97rec \ sc/source/filter/oox/excelfilter \ sc/source/filter/oox/addressconverter \ sc/source/filter/oox/autofilterbuffer \ sc/source/filter/oox/autofiltercontext \ sc/source/filter/oox/biffcodec \ sc/source/filter/oox/biffhelper \ sc/source/filter/oox/biffinputstream \ sc/source/filter/oox/chartsheetfragment \ sc/source/filter/oox/commentsbuffer \ sc/source/filter/oox/commentsfragment \ sc/source/filter/oox/condformatbuffer \ sc/source/filter/oox/condformatcontext \ sc/source/filter/oox/connectionsbuffer \ sc/source/filter/oox/connectionsfragment \ sc/source/filter/oox/defnamesbuffer \ sc/source/filter/oox/drawingbase \ sc/source/filter/oox/drawingfragment \ sc/source/filter/oox/drawingmanager \ sc/source/filter/oox/excelchartconverter \ sc/source/filter/oox/excelhandlers \ sc/source/filter/oox/excelvbaproject \ sc/source/filter/oox/externallinkbuffer \ sc/source/filter/oox/externallinkfragment \ sc/source/filter/oox/extlstcontext \ sc/source/filter/oox/formulabase \ sc/source/filter/oox/formulabuffer \ sc/source/filter/oox/formulaparser \ sc/source/filter/oox/numberformatsbuffer \ sc/source/filter/oox/pagesettings \ sc/source/filter/oox/pivotcachebuffer \ sc/source/filter/oox/pivotcachefragment \ sc/source/filter/oox/pivottablebuffer \ sc/source/filter/oox/pivottablefragment \ sc/source/filter/oox/querytablebuffer \ sc/source/filter/oox/querytablefragment \ sc/source/filter/oox/richstringcontext \ sc/source/filter/oox/richstring \ sc/source/filter/oox/scenariobuffer \ sc/source/filter/oox/scenariocontext \ sc/source/filter/oox/sharedstringsbuffer \ sc/source/filter/oox/sharedstringsfragment \ sc/source/filter/oox/sheetdatabuffer \ sc/source/filter/oox/sheetdatacontext \ sc/source/filter/oox/stylesbuffer \ sc/source/filter/oox/stylesfragment \ sc/source/filter/oox/tablebuffer \ sc/source/filter/oox/tablefragment \ sc/source/filter/oox/themebuffer \ sc/source/filter/oox/unitconverter \ sc/source/filter/oox/viewsettings \ sc/source/filter/oox/workbookfragment \ sc/source/filter/oox/workbookhelper \ sc/source/filter/oox/workbooksettings \ sc/source/filter/oox/worksheetbuffer \ sc/source/filter/oox/worksheetfragment \ sc/source/filter/oox/worksheethelper \ sc/source/filter/oox/worksheetsettings \ sc/source/filter/orcus/interface \ sc/source/filter/orcus/orcusfiltersimpl \ sc/source/filter/orcus/xmlcontext \ sc/source/filter/services \ )) ifeq ($(SYSTEM_ZLIB),YES) $(eval $(call gb_Library_add_defs,scfilt,\ -DSYSTEM_ZLIB \ )) endif # vim: set noet sw=4 ts=4: ro/mimo/mimo-7-4'>distro/mimo/mimo-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/gradtrns.cxx
AgeCommit message (Collapse)Author
2019-05-08improve tools::Rectangle->basegfx::B2?Rectangle conversionNoel Grandin
Improve the conversion method to do something reasonable with empty Rectangle. Use the conversion method in more places. Change-Id: I48c13f3d6dae71f39f03f7939101e545c8125503 Reviewed-on: https://gerrit.libreoffice.org/71853 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-08-04Use more basegfx deg<->rad functions, instead of direct formulasMike Kaganski
Also make the functions constexpr. Due to slight changes in floating-point arithmetics (90.0 instead of 180.0, M_PI2 instead of M_PI resp.), results might differ in last digits (usually 17th decimal digit). This has lead to need to tweak char2dump's PieChartTest unit test. Change-Id: I20323dd7dab27e4deb408ea4181e390cc05e7cd3 Reviewed-on: https://gerrit.libreoffice.org/58583 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-12More loplugin:cstylecast: svxStephan Bergmann
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I100e6c14cbf1d780f0e5ebca6b0c9e71ce1caaf7
2017-09-26Rename the basegfx::tools namespace to basegfx::utilsTor Lillqvist
Reduce potential confusion with the global tools namespace. Will hopefully make it possible to remove the annoying initial :: when referring to the global tools namespace. Unless we have even more tools subnamespaces somewhere. Thorsten said it was OK. Change-Id: Id088dfe8f4244cb79df9aa988995b31a1758c996 Reviewed-on: https://gerrit.libreoffice.org/42644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-07-27loplugin:constparams in svxNoel Grandin
and fix a bug in the plugin itself when calling operator's like the one on std::function<> Change-Id: I1617607107eeff06785c1841f69e13ad2926218e Reviewed-on: https://gerrit.libreoffice.org/40446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna
Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-14tdf#96505 Get rid of cargo cult long integer literalsapurvapriyadarshi
removed 0L and make it 0 Change-Id: I7adf48009bf67c2cf0ac43cc05285075bb1d85ce Reviewed-on: https://gerrit.libreoffice.org/25600 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-09-03Restored missing includes from source files.Ashod Nakashian
These source files relied on pch to include these missing headers (at least on Windows). Also included the script used to find the missing includes. The script is self-contained and includes unittests. It detects superfluous includes and required includes (which was used to restore the includes in this patch). Change-Id: I7ee09e5c712f42d5f6c3524898bc62dda78f5cc0 Reviewed-on: https://gerrit.libreoffice.org/18208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-14cppcheck: redundantCondition [part2]Julien Nabet
Change-Id: I23e8a4834fa7858adb292ce0a4dfa5dab1ab5f00
2015-06-14cppcheck: redundantCondition [part1]Julien Nabet
Change-Id: I21c5340e7b5ec09248b08aa76f43acf883c56cd8