Commit Graph
24 Commits
Author SHA1 Message Date
Noel Grandin a125236448 clang-tidy:readability-redundant-member-init
Change-Id: I48e6fb31df732805423b89ed91b6e4363a69b668
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121150
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-28 07:43:56 +02:00
Julien Nabet 46ea7c5d8b Simplify Sequences initializations (cppcanvas)
Change-Id: If2d882060422b4e450de9ddda28d8d5c624c8e24
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116816
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-06-08 13:20:39 +02:00
Noel Grandin b83ac35bf4 loplugin:simplifypointertobool improve (2)
to look for the
    x.get() == null
pattern, which can be simplified to
    !x

Change-Id: I0eddf93257ab53ab31949961d7c33ac2dd7288ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95400
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-04 08:23:43 +02:00
Noel Grandin 054c0e7177 loplugin:simplifypointertobool improve
to look for the
    x.get() != null
pattern, which can be simplified to
    x

I'll do the
   x.get() == nullptr
pattern in a separate patch, to reduce the chances of a mistake

Change-Id: I45e0d178e75359857cdf50d712039cb526016555
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95354
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-03 10:51:57 +02:00
Noel Grandin 84b396a235 new loplugin:namespaceindentation
check indentation of braces in namespace decls,
and the comments that often appear with them.

This is my penance for messing up the indentation with
clang-tidy-modernize-namespaces.

As such I have limited it to new-style namespaces for now,
and the check is off by default.

Change-Id: I4db7f10a81c79bc0eece8f8e3ee564da8bc7f168
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87723
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-01-31 09:34:46 +01:00
Noel Grandin e5cfe9c050 loplugin:makeshared in connectivity..cppuhelper
Change-Id: Id8064e961a64bb03bc0fb61e375cdcf769b340cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87276
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-01-24 07:18:44 +01:00
Noel Grandin 248ddbc4e9 clang-tidy modernize-concat-nested-namespace in cppcanvas..cppuhelper
Change-Id: I0bb4ea91288a15fb590d077fb390c53be8b50400
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86801
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-01-15 06:58:12 +01:00
Gabor Kelemen 977c993353 tdf#42949 Fix IWYU warnings in cppcanvas/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I3e6b35acf6266157d4cf634e2143e6e19a73102a
Reviewed-on: https://gerrit.libreoffice.org/81813
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-10-31 11:29:44 +01:00
Noel Grandin 0f28c8612f loplugin:unused-returns in basegfx..cppcanvas
Change-Id: I32dc8c92871c8349651d2f4204a332d387e6e1b2
Reviewed-on: https://gerrit.libreoffice.org/48428
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-25 13:51:24 +01:00
Stephan Bergmann 311fd06af4 loplugin:nullptr (automatic rewrite)
Change-Id: I68f6c78d1a539a960efbcf81be1e5b2bd26c2bc5
2015-11-10 10:31:20 +01:00
Michael Meeks b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Norbert Thiebaud c0f6713f94 remove include of pch header in cppcanvas 2011-11-27 13:02:39 -06:00
Sebastian Spaeth 4905a19032 Add vim/emacs modelines to all source files
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-10-14 17:02:15 +02:00
Jens-Heiner Rechtien 8764506704 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Kurt Zenker 6cd6053560 INTEGRATION: CWS canvas05 (1.9.38); FILE MERGED
2008/04/21 07:50:45 thb 1.9.38.2: RESYNC: (1.9-1.10); FILE MERGED
2007/10/01 13:41:45 thb 1.9.38.1: #i79258# Merge from CWS picom
2008-06-24 10:50:40 +00:00
Rüdiger Timm ef1ba75e48 INTEGRATION: CWS changefileheader (1.9.50); FILE MERGED
2008/04/01 15:10:05 thb 1.9.50.2: #i85898# Stripping all external header guards
2008/03/31 13:07:09 rt 1.9.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:17:48 +00:00
Oliver Bolte b206e60beb INTEGRATION: CWS pchfix02 (1.8.24); FILE MERGED
2006/09/01 17:22:50 kaib 1.8.24.1: #i68856# Added header markers and pch files
2006-09-17 11:51:30 +00:00
Kurt Zenker 43a79af89b INTEGRATION: CWS canvas02 (1.6.4); FILE MERGED
2005/10/09 09:17:57 thb 1.6.4.2: RESYNC: (1.6-1.7); FILE MERGED
2005/08/19 11:08:33 thb 1.6.4.1: #i53538# Changed clip setting to use basegfx polygon (cppcanvas::PolyPolygon contains reference back to canvas); changed direct access to base class member to getter method, thus, providing the actual XCanvas clip polygon lazily.
2005-11-02 12:42:47 +00:00
Rüdiger Timm 9681f1e929 INTEGRATION: CWS ooo19126 (1.6.14); FILE MERGED
2005/09/05 18:41:02 rt 1.6.14.1: #i54170# Change license header: remove SISSL
2005-09-08 07:24:56 +00:00
Oliver Bolte 3725df2b06 INTEGRATION: CWS presfixes03 (1.5.2); FILE MERGED
2005/04/01 16:09:46 thb 1.5.2.1: #i36190#, #i39245# Changed uno::Sequence::operator[] for nonconst sequences to use naked ptr; added support for true bezier polygons (and removed subdivision, where it was added because of that canvas deficiency); overhauled mtf renderer to provide faithful bounds also for subsetted meta files
2005-04-18 09:01:43 +00:00
Rüdiger Timm c5810d3d77 INTEGRATION: CWS presfixes02 (1.4.2); FILE MERGED
2005/03/14 16:04:56 thb 1.4.2.1: #i35136# #i36914# #i41113# #i44100# #i40115# #i41839# #i44404# Merge from presfixes01 patches
2005-03-30 07:33:20 +00:00
Vladimir Glazounov 555ad7a35e INTEGRATION: CWS presfixes01 (1.3.6); FILE MERGED
2005/02/16 11:14:35 fs 1.3.6.2: #i42558# drafts.com.sun.star.drawing/rendering/geometry moved to com.sun.star.*
2005/02/04 17:45:46 thb 1.3.6.1: #i38960# Only create BitmapCanvas for Bitmaps that actually _have_ one - the new, tunneled VCL bitmaps don't
2005-03-10 12:28:06 +00:00
Rüdiger Timm a869566a7a INTEGRATION: CWS presentationengine01 (1.2.2); FILE MERGED
2004/10/13 12:14:04 thb 1.2.2.5: #i34997#: Fixed problem with transparency bitmap rendering
2004/10/12 14:14:41 thb 1.2.2.4: #i34997# Added support for FLOATTRANSPARENCY meta action
2004/07/20 19:09:03 thb 1.2.2.3: #110496# Unified include statements; removed external prefix from boost includes
2004/05/27 20:51:29 thb 1.2.2.2: #110496#
Added classification code to all TODO/HACK/FIXME comments.
There are four categories:
 - code quality (C)
 - performance (P)
 - missing functionality (F)
 - and missing/incomplete error handling (E)

Furthermore, every category has a severity number between
1 and 3 associated, where 1 is lowest and 3 highest
severity
2004/04/05 15:58:51 thb 1.2.2.1: Resync with canvas01 changes
2004-11-26 19:58:48 +00:00
Thorsten Behrens f045b7b4f5 #110496# Merge from cws_srx645_canvas01: first working version of XCanvas C++ wrapper, providing encapsulation against possible API changes and some amount of convenience. 2004-03-18 09:41:15 +00:00