summaryrefslogtreecommitdiff
path: root/basegfx/source/inc
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16compact namespace: basegfx,canvasNoel Grandin2-10/+4
Change-Id: Idc808459b403bcdcccbd86b73dd22b424e507c8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98897 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-02-18tdf#42949 Fix IWYU warnings in basegfx/Gabor Kelemen2-2/+3
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic8476ddc7805546f2f6f253f282ac976bb3b7bd6 Reviewed-on: https://gerrit.libreoffice.org/67699 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-02-08loplugin:indentation in basctl..bridgesNoel Grandin1-1/+1
Change-Id: Ie4e27466c4258c6f774a3ebb82ec3a88c28fd753 Reviewed-on: https://gerrit.libreoffice.org/67525 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-10-20check for self assignCaolán McNamara1-7/+10
Change-Id: I1d8ae37c3f3fc41d5ec65bb246e891d76f7ff544 Reviewed-on: https://gerrit.libreoffice.org/62006 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-14tdf#118825 move basegfx::internal::putNumberCharWithSpaceMark Hung1-5/+0
to anonymous namespace. While basegfx::internal::putNumberCharWithSpace is only used in exportToSvgD, move it into the anonymous in the same file for later enhancement. Change-Id: I6534ac39b2095ed2ba12acc114c75737ad8dacb6 Reviewed-on: https://gerrit.libreoffice.org/58847 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
2018-08-14tdf#118825 refactor basegfx::utils::exportToSvgD with putCommandChar.Mark Hung1-6/+0
Move similar code fragments to a new function called putCommandChar. Change-Id: I7cd0beaab29110d89c3a206d6929e5154c755c4c Reviewed-on: https://gerrit.libreoffice.org/58846 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
2018-08-03loplugin:useuniqueptr in ImplHomMatrixTemplateNoel Grandin1-18/+11
Change-Id: I31175a5110672e864b07d6b5508b8b04b14e66ee Reviewed-on: https://gerrit.libreoffice.org/58484 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-12More loplugin:cstylecast: basegfxStephan Bergmann1-1/+1
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: Ifa4a6643b41525c962cd6af5776e1bf10bddb71c
2017-12-07loplugin:countusersofdefaultparams in basctl..basegfxNoel Grandin1-1/+1
Change-Id: I515acfb9de1f6dff1de94a60055c5b600e5e5241 Reviewed-on: https://gerrit.libreoffice.org/45957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-10loplugin:unusedmethodsNoel Grandin1-8/+0
Change-Id: I543b0943f0bc918d59debc8ee051f88c29d18454 Reviewed-on: https://gerrit.libreoffice.org/44553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-01loplugin:constantparam in basegfxNoel Grandin1-6/+4
Change-Id: Ieabdd6f8d76cfc2ed75f2ec618def6591a9adc93 Reviewed-on: https://gerrit.libreoffice.org/44130 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28loplugin:salunicodeliteral: basegfxStephan Bergmann1-4/+4
Change-Id: Ice43bae52ac244815ee62ee843108fd36b9918d7
2016-12-02convert some anonymous enums to scopedNoel Grandin1-6/+2
Change-Id: Ia989376c983ff475359e4964abeb1f5a2300ff5b Reviewed-on: https://gerrit.libreoffice.org/31486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-08-04loplugin:countusersofdefaultparams in basctl..basicNoel Grandin1-3/+3
Change-Id: I16fac3317ebf55581cb9aaef676a9759de51d695 Reviewed-on: https://gerrit.libreoffice.org/27793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-02Fix typosAndrea Gelmini1-1/+1
Change-Id: I38b5e720af67d0bfb1be72ff82a7f5c595a94c14 Reviewed-on: https://gerrit.libreoffice.org/24535 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-30loplugin:nullptr: Find some more cases in templatesStephan Bergmann1-1/+1
Change-Id: I1f127d56e40b04f2b4df85c0afbcfd424d68a8cc
2016-03-30loplugin:nullptrStephan Bergmann1-4/+4
Change-Id: I7f6d030317fc7910e69c742b3160b0156e9f9200
2016-03-10Avoid reserved identifiersStephan Bergmann1-4/+4
Change-Id: I036cb407c29ee375e1893b7418c7fa63bf1d592a
2016-03-03loplugin:unuseddefaultparams variousNoel Grandin1-3/+2
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546 Reviewed-on: https://gerrit.libreoffice.org/22852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-10More loplugin:nullptr automatic rewrite (within templates)Stephan Bergmann1-1/+1
Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
2015-10-27loplugin:unusedmethodsNoel Grandin2-55/+0
Change-Id: I73180266c0af98dbd8d29bd3b11850996b94def9 Reviewed-on: https://gerrit.libreoffice.org/19195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin1-22/+0
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-05-05Drop misused lcl_ prefixTor Lillqvist1-32/+37
If used at all, lcl_ is supposed to be used for static functions truly local to one source files. The functions here occur in several source files (well, two, the one where they are defined and one other) so they are not "local" in that sense. (But they could be local in the one file that uses them...) Also, they are already in a basegfx::internal namespace. While at it, drop the :: prefix eyesore from basegfx::internal, and align parameter lists consistently. Change-Id: I68b91075e0b1779ac0fa884d8f9e956f1ab7b308
2015-03-27loplugin:staticfunctionNoel Grandin1-1/+1
Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
2015-01-12Removed lcl_putNumberChar() from basegfx.Zsolt Bölöny1-6/+0
It just calls OUStringBuffer.append() and doesn't do anything special. Change-Id: Ie59a797a8d0d24cfab826516e2b5c4e58f90dd01 Reviewed-on: https://gerrit.libreoffice.org/13850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-08Resolves: #i125447# corrected some string to number conversion...Armin Le Grand1-5/+5
tools to correct svg:d imports (cherry picked from commit f077f99da3cb2903fa903dcf30e6cfd714fd009c) Conflicts: basegfx/source/inc/stringconversiontools.hxx basegfx/source/tools/stringconversiontools.cxx Change-Id: I7de1558682990f83e66fdded3d9d30e21e4f97fe
2014-09-22loplugin: cstylecastNoel Grandin1-2/+2
Change-Id: I8b1f0f6c100b4cf6d45c9e0c0f1e0a38ec081218
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2-6/+6
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-31Resolves: #i123433# Detect pseudo-vertices at svg import...Armin Le Grand1-0/+96
unify svg:d handling, correct svg:d import for relative sub-polygons in svg import; changed default for moveto writes for svg:d in ODF to absolute (cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841) Conflicts: basegfx/inc/basegfx/polygon/b2dpolygontools.hxx basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx basegfx/source/polygon/b2dpolypolygontools.cxx basegfx/source/polygon/b2dsvgpolypolygon.cxx basegfx/source/polygon/b3dpolypolygontools.cxx basegfx/source/tools/makefile.mk basegfx/test/boxclipper.cxx basegfx/test/clipstate.cxx basegfx/test/genericclipper.cxx canvas/source/tools/surfaceproxy.cxx sdext/source/pdfimport/tree/drawtreevisiting.cxx sdext/source/pdfimport/tree/writertreevisiting.cxx xmloff/inc/xexptran.hxx xmloff/source/draw/XMLImageMapContext.cxx xmloff/source/draw/XMLImageMapExport.cxx xmloff/source/draw/shapeexport2.cxx xmloff/source/draw/shapeexport3.cxx xmloff/source/draw/xexptran.cxx xmloff/source/draw/ximp3dobject.cxx xmloff/source/draw/ximpshap.cxx xmloff/source/style/MarkerStyle.cxx xmloff/source/text/XMLTextFrameContext.cxx xmloff/source/text/txtparae.cxx Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
2012-07-03sprinkle explicit over constructorsDavid Tardon1-1/+1
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
2012-06-19re-base on ALv2 code.Michael Meeks1-23/+14
2011-11-07Remove two more unused headers from basegfxJoseph Powers2-1082/+0
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth3-0/+9
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien3-12/+3
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-10-10CWS-TOOLING: integrate CWS cmcfixes49Oliver Bolte1-2/+2
2008-08-19INTEGRATION: CWS aw033 (1.18.6); FILE MERGEDVladimir Glazounov1-2/+1
2008/05/27 14:08:45 aw 1.18.6.1: #i39532# changes DEV300 m12 resync corrections
2008-04-10INTEGRATION: CWS changefileheader (1.7.88); FILE MERGEDRüdiger Timm1-23/+18
2008/03/28 16:05:49 rt 1.7.88.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.17.70); FILE MERGEDRüdiger Timm1-28/+18
2008/04/01 15:01:12 thb 1.17.70.3: #i85898# Stripping all external header guards 2008/04/01 10:48:13 thb 1.17.70.2: #i85898# Stripping all external header guards 2008/03/28 16:05:49 rt 1.17.70.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.8.88); FILE MERGEDRüdiger Timm1-23/+18
2008/03/28 16:05:48 rt 1.8.88.1: #i87441# Change license header to LPGL v3.
2006-07-13INTEGRATION: CWS cowfixes01 (1.15.20); FILE MERGEDOliver Bolte1-18/+12
2006/03/17 17:41:33 thb 1.15.20.1: #i63310# Added COW to B2DMultiRange (wasn't there before); moved BxDHomMatrix to cow_wrapper; added o3tl build dependency
2006-06-20INTEGRATION: CWS warnings01 (1.15.8); FILE MERGEDJens-Heiner Rechtien1-8/+12
2006/02/21 14:40:21 thb 1.15.8.1: #i55991# Changed matrix template int param to unsigned; int-casting it to reduced range where necessary; reverted senseless bitfield back to bool; renamed function parameter according to naming conventions (i.e. ripped off leading m)
2005-09-07INTEGRATION: CWS ooo19126 (1.6.62); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 17:38:35 rt 1.6.62.1: #i54170# Change license header: remove SISSL
2005-09-07INTEGRATION: CWS ooo19126 (1.14.34); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 17:38:35 rt 1.14.34.1: #i54170# Change license header: remove SISSL
2005-09-07INTEGRATION: CWS ooo19126 (1.7.62); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 17:38:35 rt 1.7.62.1: #i54170# Change license header: remove SISSL
2004-09-08INTEGRATION: CWS ooo20040704 (1.13.28); FILE MERGEDRüdiger Timm1-3/+6
2004/07/01 11:57:00 thb 1.13.28.2: #i30874# Verified changes 2004/06/30 12:36:35 waratah 1.13.28.1: #i30874# Add initial values to potentially unitialised values
2004-03-18#100000# linux parse problemOliver Bolte1-4/+5
2004-02-16#110496# Made headers gcc-Wall clean, added some Canvas-related toolingThorsten Behrens1-3/+3
2004-01-16#110496# Added integer point, size and rectangle classes, needed for the new ↵Thorsten Behrens3-74/+74
canvas
2003-11-28Removed in-between namespaces (curve, matrix, numeric, point, polygon, ↵Armin Weiss1-15/+15
range, tuple, vector). Names were too common and e.g. vector leaded to problems with some defines. This is now avoided. Also some bug fixes, addition of 3d polygon tooling etc.
2003-11-26BDRange no longer needed, moved to namespace range and the directories thereArmin Weiss2-8/+8