Commit Graph

25 Commits

Author SHA1 Message Date
Tor Lillqvist
d883c12556 Get rid of the initial :: for the vcl namespace
We used it all over the place without leading :: already anyway, even
in many files in include. So let's be consistent. In the majority of
cases, prefer the easier-on-the-eyes choice, not the "safe" one.

In those files in include where *all* existing uses of ::vcl:: indeed
used the :: prefix, there let's keep it for consistency.

Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30 07:27:52 +03:00
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
52c2111e4f callcatcher: remove some unused methods
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
2015-02-02 12:37:11 +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
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Markus Mohrhard
ed6b8a100c remove whitespaces
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-06-25 05:41:09 +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
Steve Yin
cc5518ca61 Integrate branch of IAccessible2
Change-Id: Ibf3be46e8619c2dce9636e8a90a6703f3e28ba33
2013-11-28 13:32:30 +00:00
Thomas Arnhold
3b58ababc5 fixincludeguards.sh: sd
Change-Id: Ic831838b377656015d645eec9d439424378e08af
2013-10-23 23:22:33 +02: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
Thorsten Behrens
70626249cd API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.

This unpublishes all css::accessibility, and dependend API.

With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.

Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29 16:58:16 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Caolán McNamara
55ae7b1537 add modelines to .hxx files as well 2010-10-28 15:50:10 +01:00
Jens-Heiner Rechtien
9e19ff00c7 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
6a26332120 INTEGRATION: CWS changefileheader (1.9.222); FILE MERGED
2008/04/01 15:35:00 thb 1.9.222.3: #i85898# Stripping all external header guards
2008/04/01 12:38:58 thb 1.9.222.2: #i85898# Stripping all external header guards
2008/03/31 13:58:08 rt 1.9.222.1: #i87441# Change license header to LPGL v3.
2008-04-10 19:33:53 +00:00
Rüdiger Timm
4ef89d6ef6 INTEGRATION: CWS sixtyfour11 (1.8.78); FILE MERGED
2007/03/12 16:39:22 kendy 1.8.78.1: #i75331#
Don't introduce new virtual methods where they should be overridden.
2007-04-25 13:40:45 +00:00
Kurt Zenker
280a72096c INTEGRATION: CWS sdwarningsbegone (1.7.316); FILE MERGED
2006/11/22 12:41:59 cl 1.7.316.1: #i69285# warning free code changes for unxlngi6.pro
2006-12-12 16:30:24 +00:00
Rüdiger Timm
68da07928a INTEGRATION: CWS ooo19126 (1.6.562); FILE MERGED
2005/09/05 13:22:33 rt 1.6.562.1: #i54170# Change license header: remove SISSL
2005-09-09 03:58:36 +00:00
Oliver Bolte
c378a557eb INTEGRATION: CWS impress1 (1.5.108); FILE MERGED
2003/09/16 13:37:28 af 1.5.108.1: #111996# Introduction of namespace sd. Use of sub-shells.
2004-01-20 10:27:53 +00:00
Vladimir Glazounov
643dd1418d INTEGRATION: CWS uaa02 (1.4.114); FILE MERGED
2003/04/11 16:46:26 mt 1.4.114.1: #108656# Moved accessibility from drafts to final
2003-04-24 16:04:51 +00:00
Thorsten Behrens
2ef5b0a721 #100299# Sense focus and detect core objects death 2002-06-13 17:51:34 +00:00
Thorsten Behrens
33e396bd9a #99840# Made OutlineView ZoomText-ready 2002-06-12 16:27:40 +00:00
Thorsten Behrens
22047e33da #98735# Refactored text accessibility helper 2002-05-17 18:12:44 +00:00
Thorsten Behrens
2f961af9f9 #98735# Implementing the UAA for OutlineView 2002-04-26 09:44:53 +00:00