Commit Graph

32 Commits

Author SHA1 Message Date
Noel Grandin
2746319717 clang-tidy bugprone-copy-constructor-init
Change-Id: Idd435b3a4d081f6d3af26ff8add69ad4af50db57
warning: calling a base constructor other than the copy constructor
Reviewed-on: https://gerrit.libreoffice.org/60239
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-11 08:19:00 +02:00
Tor Lillqvist
b0259d3e85 Sorry, could not resist: Drive-by cosmetic changes
Remove noise comments, ASCII graphics, and superfluous whitespace.

Change-Id: Icca0995082ce8afad1e770a263fdef00bfc33449
Reviewed-on: https://gerrit.libreoffice.org/51168
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-03-13 08:07:07 +01:00
Stephan Bergmann
71f057a6f6 loplugin:includeform: UnoControls
Change-Id: Id6bcc521bbfe8579be1b0184d75dffb04baf9ea4
2017-10-23 22:46:14 +02:00
Stephan Bergmann
e57ca02849 Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only).  See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.

Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly).  The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually).  There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).

Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code.  Missing @throws
documentation has not been applied in such manual clean-up.

Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-26 12:54:43 +00:00
Stephan Bergmann
3bf5bc0374 loplugin:nullptr (automatic rewrite)
Change-Id: I8be8b75317f0a8cf9005feefea05c053b76c7b0f
2015-11-10 10:31:14 +01:00
Stephan Bergmann
d246f47422 Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I61a85caf1587291eaa6b999050a52c92d9e416e3
2015-04-01 08:35:13 +02:00
Michael Stahl
15b4ab8d19 cppuhelper: clean up public headers with include-what-you-use
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18 18:51:49 +01:00
Noel Grandin
a2320eaf39 loplugin: cstylecast
Change-Id: I28443b688f8ab752162846e5cea661f26d269cad
2014-09-29 12:50:36 +02:00
Noel Grandin
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Julien Nabet
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Tor Lillqvist
fdecbd4a41 Kill superfluous spacing before semicolons
Change-Id: I2c5c2c2e8c57796d147141748fb57a4c5645a96a
2014-04-06 20:00:28 +03:00
Tor Lillqvist
5814e76432 Kill superfluous vertical whitespace
Change-Id: Ieb7956acdc24d6b18939e916e33eb12dc268e778
2014-04-06 20:00:27 +03: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
d706527fd8 bool improvements
Change-Id: I24fae431d9e2b99cd6ac937956bb401ecfebc943
2014-01-21 18:24:04 +01:00
Noel Grandin
95c0d568fd use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise.

Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05 08:13:23 +02:00
Michael Meeks
ec54c0c45f re-base on ALv2 code. 2012-07-03 13:10:11 +01:00
Takeshi Abe
e1a1091d0a catch ignored exceptions by const reference 2011-08-24 11:30:17 +09:00
Thomas Arnhold
352f1a58e2 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:06:18 +01:00
Thomas Arnhold
50c26300e5 Remove lots of dead code 2011-02-06 13:43:35 +01:00
Joseph Powers
ddec70f39e Macro Cleanup in UNO land. 2010-11-01 00:16:13 -05:00
Sebastian Spaeth
ead7290449 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:23 +02:00
Norbert Thiebaud
53f428d9bf merge vosremoval-diagnoses patch 2010-10-10 19:46:46 -05:00
Jens-Heiner Rechtien
36de66bdf0 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
42bdb1d4be INTEGRATION: CWS changefileheader (1.7.26); FILE MERGED
2008/04/01 16:03:01 thb 1.7.26.3: #i85898# Stripping all external header guards
2008/04/01 12:59:00 thb 1.7.26.2: #i85898# Stripping all external header guards
2008/03/31 13:07:32 rt 1.7.26.1: #i87441# Change license header to LPGL v3.
2008-04-11 06:12:56 +00:00
Jens-Heiner Rechtien
43c18f7324 INTEGRATION: CWS warnings01 (1.6.4); FILE MERGED
2005/11/10 11:34:54 pl 1.6.4.2: #i53898# removed warnings
2005/10/25 09:12:40 pl 1.6.4.1: #i55991# removed warnings for solaris platform
2006-06-19 22:08:53 +00:00
Rüdiger Timm
b4e586f4ca INTEGRATION: CWS ooo19126 (1.5.18); FILE MERGED
2005/09/05 16:59:16 rt 1.5.18.1: #i54170# Change license header: remove SISSL
2005-09-09 08:16:40 +00:00
Sander Vesik
156e86ac8a INTEGRATION: CWS ooo20040329 (1.4.4); FILE MERGED
2004/03/17 12:26:23 waratah 1.4.4.1: #i1858# alter the order of some definitions to fix some -Wall warnings
2004-04-21 12:49:28 +00:00
Jens-Heiner Rechtien
75c0ccd925 INTEGRATION: CWS ooo20031216 (1.3.26); FILE MERGED
2003/12/27 22:21:40 waratah 1.3.26.1: TRY:  Remove TRY CATCH macros out of commented out code
2004-02-04 11:27:12 +00:00
Vladimir Glazounov
86127a42eb INTEGRATION: CWS mh11rc (1.2.44); FILE MERGED
2003/06/06 13:06:44 mh 1.2.44.1: join: from cws_srx644_ooo11beta2
2003-06-12 09:43:38 +00:00
Rüdiger Timm
8fed933384 #65293# exception specifications (release/acquire) 2001-12-07 15:11:09 +00:00
Jens-Heiner Rechtien
95117e7fef initial import 2000-09-18 15:18:56 +00:00