Commit Graph

24 Commits

Author SHA1 Message Date
Noel Grandin
71b809959b remove unnecessary use of void in function declarations
ie.
    void f(void);
becomes
    void f();

I used the following command to make the changes:

  git grep -lP '\(\s*void\s*\)' -- *.cxx \
    | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'

and ran it for both .cxx and .hxx files.

Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15 11:47:12 +02:00
Caolán McNamara
a0183e89b7 callcatcher: update unused code
Change-Id: I81b6f8af2b5c539b7adb507e787497b5ed51fa39
2015-03-05 09:25:25 +00:00
Stephan Bergmann
034f2e1a2a loplugin:deletedspecial
Change-Id: I1e61d3553795ed8e2b7bc6fa3d1c0f881e777b08
2015-02-07 12:36:00 +01:00
Caolán McNamara
309574394b callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...

commit b44cbb26ef
Author: Noel Grandin <noel@peralex.com>
Date:   Tue Jan 20 12:38:10 2015 +0200

    new loplugin: change virtual methods to non-virtual

    Where we can prove that the virtual method is never overriden.

    In the case of pure-virtual methods, we remove the method entirely.
    Sometimes this leads to entire methods and fields being
    eliminated.

Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-29 23:42:26 +00:00
Noel Grandin
b44cbb26ef new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden.

In the case of pure-virtual methods, we remove the method entirely.
Sometimes this leads to entire methods and fields being
eliminated.

Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-26 08:42:28 +02:00
Andrea Gelmini
da40cac540 Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 11:04:11 +00:00
Stephan Bergmann
94546ae88d rtl::Reference fits just fine here
Change-Id: I354b546654e665607d9be0d65f6327fabb5694de
2014-06-18 11:26:34 +02:00
Noel Grandin
2d54aa1d22 reportdesign: sal_Bool->bool
Change-Id: Ib3e7a51a8b01165d4706857f7b347d622c2e624a
2014-05-08 11:48:12 +02:00
Noel Grandin
e23c98d713 reportdesign: sal_Bool->bool
Change-Id: I7a269dbf163f4c839b6c553c7b096185fe2f8a01
2014-05-02 08:49:23 +02:00
Thomas Arnhold
436f9d16c4 fixincludeguards.sh: reportdesign 2014-04-19 11:10:09 +02: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
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +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
2196955b00 Remove visual noise from reportdesign
Change-Id: I2fea3ecefa24cfc0f3cc2a2f4de7c934eba5d6f7
Reviewed-on: https://gerrit.libreoffice.org/8295
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 08:57:59 -06:00
Stephan Bergmann
b0926378ac Clean up includes of comphelper/stl_types.hxx
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06 17:56:11 +01:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Michael Stahl
0abceaaf62 refactor reportdesign::OSection construction
Indended to solve a problem that turned out to be imaginary.

Change-Id: I185887f6e45869102ac600717a0bb7564ebdb7e5
2012-08-10 00:09:50 +02:00
Michael Stahl
8ec791316c fdo#53154: fix report design wizard crash:
As described by Stephan in the bug report, the XAggregation usage in
OSection of SvxFmDrawPage is broken; replace it by explicit forwarding
of the XDrawPage, XShapeGrouper, XFormsSupplier2 methods; it seems
to fix the crash here.  Also get rid of horrid refcount manipulation
etc. while at it.

Change-Id: Ib08830d2092bd2026db5b57c1c2e165b946889b3
2012-08-10 00:09:50 +02:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Caolán McNamara
e9470b0050 add modelines to .hxx files as well 2010-10-27 12:33:13 +01:00
Jens-Heiner Rechtien
1708f6091b 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
Rüdiger Timm
96ca536762 INTEGRATION: CWS changefileheader (1.3.8); FILE MERGED
2008/04/01 15:23:35 thb 1.3.8.3: #i85898# Stripping all external header guards
2008/04/01 12:33:06 thb 1.3.8.2: #i85898# Stripping all external header guards
2008/03/31 13:32:03 rt 1.3.8.1: #i87441# Change license header to LPGL v3.
2008-04-10 17:21:41 +00:00
Kurt Zenker
d73d5cfd6e INTEGRATION: CWS rptchart01_DEV300 (1.2.70); FILE MERGED
2008/01/24 12:39:31 oj 1.2.70.1: #i85225# changes for chart
2008-03-05 16:58:37 +00:00
Rüdiger Timm
94ccba3eeb Bring module to HEAD. 2007-07-09 10:56:41 +00:00