Noel Grandin
ad4c8fed1b
loplugin:sequentialassign in codemaker..connectivity
...
Change-Id: I9776431ebce95a88ae42715aaba2ddc28fb52471
Reviewed-on: https://gerrit.libreoffice.org/70642
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk >
2019-04-13 08:06:01 +02:00
Noel Grandin
3b9dcfee64
loplugin:indentation in codemaker..comphelper
...
Change-Id: I8dee6245cfa1f7998591b31a3752bbbae13f499d
Reviewed-on: https://gerrit.libreoffice.org/67527
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2019-02-08 10:01:40 +01:00
Stephan Bergmann
696722f2c8
loplugin:includeform: codemaker
...
Change-Id: If0c6726c4e096f50e2e16f2a4f7e5821457ac368
2017-10-23 22:46:12 +02:00
Noel Grandin
14d4566543
loplugin:constmethod in codemaker,registry,store
...
Change-Id: Ie75875974f054ff79bd64b1c261e79e2b78eb7fc
Reviewed-on: https://gerrit.libreoffice.org/43540
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-10-20 08:50:48 +02:00
Noel Grandin
4c09f8e087
clang-tidy modernize-use-emplace in c*
...
Change-Id: I419d1f67ba301050d05981db2a3d6178878684a9
Reviewed-on: https://gerrit.libreoffice.org/42110
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-09-11 08:40:57 +02:00
Noel Grandin
0c3bd1d482
new loplugin:droplong
...
The types 'long' and 'unsigned long' are different sizes on different
platforms, making them wholy unsuitable for portable code.
And when I mean different sizes, I mean 64bit Linux and 64bit Windows
have different bit sizes.
Change-Id: Id4d8cd709bf71a3f85ed6515fae2b0a21ae8c25d
Reviewed-on: https://gerrit.libreoffice.org/41130
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-08-14 09:14:39 +02:00
Noel Grandin
868d8c8f0f
loplugin:unnecessaryparen handle parens inside call expr
...
stick to single-arg function calls, sometimes parens in multi-arg calls
might be there for clarity
Change-Id: Ib80190c571ce65b5d219a88056687042de749e74
Reviewed-on: https://gerrit.libreoffice.org/39676
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-07-07 10:45:05 +02:00
Arnaud Versini
c4ac732d81
Remove usage of OString("")
...
Change-Id: I0874f81c35573048d05b3842806daa0db67f7887
Reviewed-on: https://gerrit.libreoffice.org/38386
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-06-04 15:13:17 +02:00
Stephan Bergmann
5222dd86dd
loplugin:loopvartoosmall
...
Change-Id: Ifd83cb180072304511ad8eb031dcf2a867e97e62
2017-02-25 10:10:02 +01: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
Arnold Dumas
c0ca75f1af
tdf#100726: Improve readability of OUString concatenations
...
Change-Id: I31877a43e6fe3e9d6b36278673d40f3b14325972
Reviewed-on: https://gerrit.libreoffice.org/27092
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-11 07:28:31 +00: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
Stephan Bergmann
87a9abf351
loplugin:nullptr (automatic rewrite)
...
Change-Id: Ic33cbe3feed8aec9f7578aea2cbd809169d9b8c8
2015-11-10 10:31:18 +01:00
Caolán McNamara
3d9d0b78a7
coverity#1242375 Don't call fscanf without specifiers
...
Change-Id: I58082770ca79da9c4d235b5ea0dc79c688c7498b
2014-10-07 14:29:55 +01:00
Noel Grandin
20f14ed4a1
codemaker: sal_Bool->bool
...
Change-Id: I0a0691df58455b712eb27695f4cce15fd3494b65
2014-04-04 13:44:18 +02:00
Stephan Bergmann
07d3807e99
codemaker: sal_Bool -> bool
...
Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
2014-02-17 17:55:17 +01:00
Caolán McNamara
d09c534c98
coverity#440029 Logically dead code
...
Change-Id: Id071c8658b473b9d393a32e1da2c2474bb7361d3
2014-01-28 11:29:15 +00:00
Stephan Bergmann
4b0a692668
Stray space at end of usage text line
...
Change-Id: I886c543d9de63595a9183f4e5f108f08b2ba25ef
2013-09-10 15:48:03 +02:00
Stephan Bergmann
fc02ae8f82
[API CHANGE] WIP: Experimental new binary type.rdb format
...
Make javamaker work on top of unoidl/ instead of registry/.
API CHANGE: javamaker no longer supports the -B switch, as that is meaningless
with the new format. When reading from an old-format .rdb file, /UCR is hard-
coded as the prefix now.
Change-Id: I8cca39f8ebacd0476934f7bd493d206928d063a9
2013-04-11 09:29:44 +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
Thomas Arnhold
3991eaf556
reduce whitespaces between include and filename
...
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-19 01:26:45 +01:00
Caolán McNamara
1f9f8f4f40
loplugin: some log, indent and unused variable warnings
...
fix up some indents, remove some unused OUStrings and add some log areas
Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-13 20:34:54 +01:00
Michael Meeks
c91e2cae54
re-base on ALv2 code.
2012-06-12 22:24:54 +01:00
Norbert Thiebaud
d8ed87481c
remove include of pch header in codemaker
2011-11-27 12:59:38 -06:00
Jan Holesovsky
4be7cca60b
Merge commit 'ooo/DEV300_m103'
...
Conflicts:
codemaker/source/bonobowrappermaker/corbaoptions.cxx
codemaker/source/cppumaker/cppuoptions.cxx
codemaker/source/cunomaker/cunooptions.cxx
codemaker/source/idlmaker/idloptions.cxx
codemaker/source/javamaker/javaoptions.cxx
cppu/source/typelib/typelib.cxx
idlc/source/options.cxx
offapi/com/sun/star/util/PathSubstitution.idl
offapi/drafts/com/sun/star/form/ListEntryEvent.idl
offapi/drafts/com/sun/star/form/XBindableValue.idl
offapi/drafts/com/sun/star/form/XListEntryListener.idl
offapi/drafts/com/sun/star/form/XListEntrySink.idl
offapi/drafts/com/sun/star/form/XListEntrySource.idl
offapi/drafts/com/sun/star/form/XValueBinding.idl
registry/tools/checksingleton.cxx
registry/tools/options.hxx
registry/tools/regcompare.cxx
registry/tools/regmerge.cxx
sal/cppunittester/cppunittester.cxx
sal/osl/unx/socket.c
sal/osl/w32/diagnose.c
sal/prj/d.lst
sal/rtl/source/alloc_fini.cxx
sal/rtl/source/alloc_global.c
sal/rtl/source/makefile.mk
2011-03-23 16:59:59 +01:00
Julien Nabet
933e22880b
Remove "using namespace ::rtl"
2011-03-02 21:53:12 +01:00
Juergen Schmidt
228e4d2915
jsc340: i114847: fix name
2011-02-24 10:51:05 +01:00
Sebastian Spaeth
a715e1b3d0
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:04:31 +02:00
Juergen Schmidt
f3de0f63df
jsc340: i14847: clean up cmdline help fo devtools
2010-10-01 14:20:45 +02:00
Jens-Heiner Rechtien
7c80db2eb3
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
c2358da166
INTEGRATION: CWS changefileheader (1.11.38); FILE MERGED
...
2008/03/31 07:22:55 rt 1.11.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:19:23 +00:00
Oliver Bolte
93dba0eb76
INTEGRATION: CWS pchfix02 (1.10.8); FILE MERGED
...
2006/09/01 17:19:24 kaib 1.10.8.1: #i68856# Added header markers and pch files
2006-09-17 02:39:46 +00:00
Jens-Heiner Rechtien
4e56ed5205
INTEGRATION: CWS warnings01 (1.8.48); FILE MERGED
...
2005/09/22 22:29:05 sb 1.8.48.2: RESYNC: (1.8-1.9); FILE MERGED
2005/09/05 13:32:29 sb 1.8.48.1: #i53898# Made code warning-free.
2006-06-20 01:25:07 +00:00
Rüdiger Timm
557f209959
INTEGRATION: CWS ooo19126 (1.8.46); FILE MERGED
...
2005/09/05 17:28:07 rt 1.8.46.1: #i54170# Change license header: remove SISSL
2005-09-08 01:17:45 +00:00
Sander Vesik
eb9c6c9a2e
INTEGRATION: CWS ooo20040329 (1.7.16); FILE MERGED
...
2004/03/17 09:29:14 waratah 1.7.16.1: #i1858# remove i statement that does nothing
2004-04-21 12:53:23 +00:00
Oliver Bolte
fbe5486872
INTEGRATION: CWS sdk08 (1.6.40); FILE MERGED
...
2003/10/02 16:02:14 jsc 1.6.40.1: #106565# generate temp files always, rename complete files
2003-10-20 12:09:37 +00:00
Juergen Schmidt
28b696f147
#105422# special work for command file
2002-11-21 09:49:33 +00:00
Juergen Schmidt
a634061cb9
#105422# using osl_getCommandLineArgs for rdb input files
2002-11-20 15:20:29 +00:00
Daniel Boelzle
73d9da9960
#101918# supporting -X option now
2002-07-31 11:46:45 +00:00
Jens-Heiner Rechtien
8130b32b67
#65293#: include <string.h>
2002-02-21 10:44:33 +00:00
Juergen Schmidt
65a51aef81
insert new option -nD (no dependent types are generated)
2001-03-06 07:17:55 +00:00
Jens-Heiner Rechtien
b525a3115f
initial import
2000-09-18 14:29:57 +00:00