Commit Graph

20 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
Noel Grandin
3a2baade81 loplugin:staticfunction
Change-Id: I4b7b04031fa74956379c5a1b21abe10b0717f3e9
2015-03-30 10:44:59 +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
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
e537c807fb -Werror,-Wunused-member-function
SimpleView had been unused since its inception in
b561e658eb "INTEGRATION: CWS presenterview."

Change-Id: Ieb3af55c4cfebd24fe229c847f38ca108ae3401e
2013-11-14 10:15:05 +01:00
Noel Grandin
6a043e9c0a Use the new type-checking Reference constructor to reduce code noise
Also create a Clang compiler plugin to detect such cases.

Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22 10:44:29 +00: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
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Rich Wareham
15fd86b975 sdext/source/presenter/*: remove extraneous vertical whitespace
Replace 5 lines of vertical whitespace in sdext/source/presenter/* with
a single line so that more can be seen on the screen at once.

Fixes bug 44635
2012-01-12 14:43:15 +00:00
Norbert Thiebaud
dd896dd28e remove include of pch header from sdext 2011-11-27 13:21:13 -06:00
Sebastian Spaeth
fa39fbdcce 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-13 10:57:24 +02:00
Jens-Heiner Rechtien
4326ef06fe 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
7fdbe1dd5f #i10000# Missing precompiled header directive added. 2008-08-29 09:11:21 +00:00
Rüdiger Timm
dde35b9b8e INTEGRATION: CWS presenterfixes (1.4.2); FILE MERGED
2008/05/27 07:41:30 af 1.4.2.1: #i88854# Added ReleaseView to CachablePresenterView.
2008-07-11 12:42:48 +00:00
Vladimir Glazounov
084f9ffcd3 INTEGRATION: CWS presenterscreen (1.2.4); FILE MERGED
2008/04/30 08:41:31 af 1.2.4.5: #i88853# PresenterSlideShowView() is not a service anymore.
2008/04/23 11:57:59 af 1.2.4.4: #i18486# Made caching optional, defaults to off.
2008/04/22 08:28:19 af 1.2.4.3: RESYNC: (1.2-1.3); FILE MERGED
2008/04/18 14:53:43 af 1.2.4.2: #i18486# Store only unused resources in the cache.
2008/04/16 16:12:25 af 1.2.4.1: #i18486# Addes support for cachable views.
2008-05-13 13:40:44 +00:00
Rüdiger Timm
5a53c0aba9 INTEGRATION: CWS changefileheaderm6 (1.2.2); FILE MERGED
2008/04/09 16:07:37 rt 1.2.2.1: #i87884# Change license header to LPGL v3.
2008-04-11 10:40:04 +00:00
Kurt Zenker
b561e658eb INTEGRATION: CWS presenterview (1.1.2); FILE ADDED
2008/02/28 16:15:25 af 1.1.2.11: #i18486# Find... methods of pane container now return SharedPaneDescriptor.
2008/02/26 15:35:43 af 1.1.2.10: #i18486# Replaced PresenterSlideSorterView with PresenterSlideSorter.
2008/01/30 15:09:07 af 1.1.2.9: #i18486# Fixed repainting of the preview.
2008/01/23 15:21:16 af 1.1.2.8: #i18486# Fixed Linux compilation problems.
2008/01/21 15:33:01 af 1.1.2.7: #i18486# Code cleanup.
2008/01/09 18:36:57 cl 1.1.2.6: #i18486# use new slideshow api
2007/12/12 15:55:26 af 1.1.2.5: #i18486# Code cleanup.
2007/11/19 09:45:33 af 1.1.2.4: #i18486# Passing XComponentContext to some more view constructors.
2007/10/25 09:51:08 af 1.1.2.3: #i18486# Avoid IndexOutOfBoundsException.
2007/10/24 13:12:20 af 1.1.2.2: #i18486# Fixed inital compilation problems.
2007/10/24 12:26:56 af 1.1.2.1: #i18486# Initial revision.
2008-04-03 15:06:49 +00:00