Commit Graph

31 Commits

Author SHA1 Message Date
Stephan Bergmann
a30148d3fc loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie7f382fb47463d9bc315dc767c1d0550145ec935
2016-04-20 17:25:36 +02:00
Chris Sherlock
a238b1f8d3 Remove excess newlines
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>
2016-02-09 08:18:05 +00:00
Stephan Bergmann
b8793748b0 Seems more natural to pass a homogenous list by initializer_list
...than by template parameter pack (even if that requires using ServiceDecl*, as
initializer_list cannot take reference types)

Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
2015-11-20 13:39:52 +01:00
Mario J. Rugiero
707f416192 boost::bind -> lambdas in canvas/source/simplecanvas/simplecanvasimpl.cxx
Change-Id: If768595d3c3ec294d5a59ad42f26aacfd6e0fda3
Reviewed-on: https://gerrit.libreoffice.org/19708
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01 15:28:41 +00:00
Stephan Bergmann
b36963c0a6 Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
Norbert Thiebaud
e5ec630414 stop inclduing canvas/verbosetraces.hxx and canvas/debug.hxx
also clean-up and 'standardize' the include sections of canvas' source code

Change-Id: Ib437a41ea41ae2ea6528f755ae5b2828775aaf73
Reviewed-on: https://gerrit.libreoffice.org/17633
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-11 03:57:18 +00:00
Michael Stahl
c2966acc46 canvas: replace boost::function with std::function
Change-Id: I1a4a3007a07a796d80d06ab7554953925bb8be3d
2015-07-31 21:35:42 +02:00
Michael Stahl
9e90038b73 canvas: replace boost::function with std::function
Change-Id: Ia3644bc0d9db2159aa4e9f05ca2f36e60b63e6f4
2015-07-31 21:24:26 +02:00
Noel Grandin
a60cc5d62a com::sun::star->css in canvas
Change-Id: I23c3f774834bb7e84e2f02fe05fa9d844adadc9d
Reviewed-on: https://gerrit.libreoffice.org/17259
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-22 09:04:57 +00:00
Takeshi Abe
b854086df8 tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants, in canvas.

Change-Id: I8604e6b6e0f45539e3411c98a166518b837b6758
Reviewed-on: https://gerrit.libreoffice.org/16798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10 07:39:31 +00:00
Noel Grandin
1afb790a11 inline COMPHELPER_SERVICEDECL_ macro
it was not adding any value

Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
2015-06-15 09:46:14 +02:00
Stephan Bergmann
9e8564afbd Simplify o3tl::LazyUpdate
Change-Id: I7569a20877411a5ceb4a7475d82cb634eb6cb114
2015-03-05 22:39:16 +01:00
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
8747200c87 Remove visual noise from canvas
Change-Id: I0f01a4064ab6d1f55647ecdc1a8710e289e5d96c
2014-02-25 21:29:36 +01:00
Caolán McNamara
c30677731c coverity#706253 Uncaught exception
Change-Id: Id55f2ae36c03db59011ce11538fd45d9e909d5c0
2014-02-11 20:21:51 +00:00
Caolán McNamara
3671f9f30c coverity#706250 Uncaught exception
Change-Id: I862f30149c46869ad8cb973442a1818af8e9031f
2014-02-11 20:21:51 +00:00
Norbert Thiebaud
4ac9fa7a88 canvas: include <> for external includes
Change-Id: I63f1fe2f1dfc65b3e50e03e1d2ebb6256560bd5c
2013-11-11 22:37:26 -06:00
Ádám Csaba Király
b93b23fe10 Replace rtl::O(U)String with O(U)String
Other changes include:
in bridges/test/testcomp.cxx duplicate 'using namespace ::test' removed,
'using namespace ::rtl' replaced with 'using ::rtl::OUString' and
'using ::rtl::OUStringToOString'

Change-Id: I67a5952afd305adeb07f728c9074620ecba8e9fc
Reviewed-on: https://gerrit.libreoffice.org/2475
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-03-01 13:19:13 +00:00
Chr. Rossmanith
0968c30437 RTL_CONSTASCII_(U)STRINGPARAM removed in canvas
::rtl:: prefix removed from OUString as well

Change-Id: I4de29a9c487ff2b87fdb5efa8e75aaf5b88402b0
2013-01-09 21:15:12 +01:00
Michael Meeks
60337134e4 re-base on ALv2 code. Includes:
linecap: Reintegrating finished LineCap feature
    Patch contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    disable extended linecap API for now.

    gnumake4 work primarily from Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1394326

    misc. dead code cleanups
    Patch contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1204995
    http://svn.apache.org/viewvc?view=revision&revision=1207270
2012-10-08 11:36:37 +01:00
Thorsten Behrens
80fe015a86 Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Carsten Niehaus
40cddfce8b Removing one obsolte GNUC check for GCC < 4.0.1
See https://bugs.freedesktop.org/show_bug.cgi?id=45131
2012-02-10 10:56:13 +01:00
Norbert Thiebaud
24c0f87615 remove include of pch header in canvas 2011-11-27 12:57:22 -06:00
Matúš Kukan
4b60da5d1d add more component prefixes 2011-08-17 23:51:45 +02: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
Armin Le Grand
7857f07d09 #i97509# continued matrix tooling and adapting the usages now to all the ooo code 2009-09-22 18:14:05 +02:00
Rüdiger Timm
7c4203e32a INTEGRATION: CWS changefileheader (1.2.50); FILE MERGED
2008/03/28 16:35:10 rt 1.2.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:34:20 +00:00
Jens-Heiner Rechtien
e16d669c8a INTEGRATION: CWS awttree01 (1.1.2); FILE ADDED
2007/05/22 07:19:40 cl 1.1.2.3: added missing precompiled header directive
2007/05/21 16:04:36 thb 1.1.2.2: #i10000# WaE fix for gcc3.x - which indeed unearthed a bug
2007/04/25 12:22:13 thb 1.1.2.1: #i75289# Added XSimpleCanvas canvas wrapper service (instantiate with com.sun.star.rendering.SimpleCanvas from the service manager)
2007-06-27 11:15:21 +00:00