Commit Graph

26 Commits

Author SHA1 Message Date
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
f555ab4e96 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idb7e5ff0c73bbc2c462b92cd96444eb5d2d4194b
2016-04-20 17:25:37 +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
Andrea Gelmini
5b1337f7b2 tdf#62475: partial handmade fixes
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4
Reviewed-on: https://gerrit.libreoffice.org/15712
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-15 17:55:15 +00:00
Thomas Arnhold
edda7dbad7 starcontainer -> css::container
Change-Id: Ie6e75483aa4262a5f66a4c557015af8b3c02d592
2014-08-21 09:03:22 +02:00
Thomas Arnhold
32093237b3 comphelper: starlang -> css::lang
Change-Id: Ie8adb5b81df51fd973cbb786f27ea3ef1462679c
2014-08-21 09:03:19 +02:00
Thomas Arnhold
007099ea32 comphelper: staruno -> css::uno
Change-Id: I21991280c5b7e4c6d0c200f4489c89a9f4fbc385
2014-08-21 09:03:18 +02:00
Alexander Wilms
a67c2a12bc Remove visual noise from comphelper
Change-Id: I7e5512b43240beee05404cff9d49a87d0217ea89
Reviewed-on: https://gerrit.libreoffice.org/8242
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:42:45 -06: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
05f742d28b comphelper: sal_Bool -> bool
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17 17:55:19 +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 Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Tom Thorogood
8907a41bf8 Translate german comments in core/comphelper 2012-03-05 18:52:34 +02:00
Norbert Thiebaud
b8ee1f9b5f remove include of pch header in comphelper 2011-11-27 13:00:14 -06: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
Rüdiger Timm
9518f43537 INTEGRATION: CWS changefileheader (1.8.114); FILE MERGED
2008/04/01 12:26:28 thb 1.8.114.2: #i85898# Stripping all external header guards
2008/03/31 12:19:31 rt 1.8.114.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:58:01 +00:00
Ivo Hinkelmann
d061807d0e INTEGRATION: CWS fwkdbdesign01 (1.7.44); FILE MERGED
2007/03/02 06:30:30 fs 1.7.44.2: #i10000#
2007/02/21 09:39:51 as 1.7.44.1: #i45663# new enumeration helper for more general purposes
2007-04-16 15:58:44 +00:00
Oliver Bolte
fb6c7d26f0 INTEGRATION: CWS pchfix02 (1.6.36); FILE MERGED
2006/09/01 17:19:38 kaib 1.6.36.1: #i68856# Added header markers and pch files
2006-09-17 16:07:02 +00:00
Jens-Heiner Rechtien
46bc3aed16 INTEGRATION: CWS warnings01 (1.4.184); FILE MERGED
2005/09/23 03:13:48 sb 1.4.184.2: RESYNC: (1.4-1.5); FILE MERGED
2005/09/01 13:59:56 sb 1.4.184.1: #i53898# Made code warning-free.
2006-06-19 21:46:20 +00:00
Rüdiger Timm
2b42af0048 INTEGRATION: CWS ooo19126 (1.4.188); FILE MERGED
2005/09/05 15:23:55 rt 1.4.188.1: #i54170# Change license header: remove SISSL
2005-09-08 01:45:10 +00:00
Jens-Heiner Rechtien
634b32e4ea #i25259# initialize member m_bListening in all c'tor of OEnumerationByName 2004-02-09 16:06:26 +00:00
Kurt Zenker
0e38b5529a INTEGRATION: CWS filtercfg (1.2.36); FILE MERGED
2003/07/30 09:08:48 as 1.2.36.1: #102620# new ctor to support outside filtered lists of container items
2004-01-28 11:46:55 +00:00
Jens-Heiner Rechtien
8ed9759cd9 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-19 15:03:25 +00:00
Frank Schönheit
b83bbfa982 initial import 2000-09-29 10:28:15 +00:00