Noel Grandin
7e776c0027
loplugin:unusedmethods
...
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 10:17:02 +02:00
Noel Grandin
58aea3f36c
loplugin:unusedmethods
...
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
the $WORKDIR
Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-01 10:43:24 +00:00
Noel Grandin
f1de3e14df
com::sun::star->css in extensions/
...
Change-Id: I64af9f5ae444e1f7bc6c0e8c29df383a9531dba9
2015-10-01 12:18:24 +02:00
Noel Grandin
e209d115d4
remove old standalone Sun bug numbers
...
Sun bug numbers without any accompanying text are completely useless.
Fixed with
git grep -lP '//\s*#\d+#\s*$'
| xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print'
And then hand-checking the result to restore places where it deleted code.
And then some more grepping and hand-editing to kill the others.
Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29
Reviewed-on: https://gerrit.libreoffice.org/19023
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-01 06:57:19 +00:00
Andrea Gelmini
00d2eeebc8
Fix typos
...
Change-Id: Iaa9dd3f02f21947742643349d3b878126017477d
Reviewed-on: https://gerrit.libreoffice.org/18947
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-09-30 12:25:15 +00:00
Oliver Specht
ac9671f948
tdf#94559: second step to remove rtti.hxx
...
replaced use of PTR_CAST, IS_TYPE, ISA in
chart2, connectivity, editeng, extensions, filter, forms, framework, idl
Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99
Reviewed-on: https://gerrit.libreoffice.org/18920
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
2015-09-30 06:07:57 +00:00
Stefan Heinemann
c50eb68af3
Renamed wrongly prefixed boolean variables
...
Fixed tdf#94269
Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2015-09-29 18:33:40 +00:00
Noel Grandin
34180700b2
loplugin:removeunusedmethods, remove unused stuff
...
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
Noel Grandin
e85b2333bc
convert Link<> to typed
...
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b
Reviewed-on: https://gerrit.libreoffice.org/18825
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-09-24 16:19:37 +00:00
Noel Grandin
1e67e94f1a
convert Link<> to typed
...
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-21 08:03:52 +02:00
Noel Grandin
99bfc363a6
convert Link<> to typed
...
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511
Reviewed-on: https://gerrit.libreoffice.org/18700
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-09-20 06:37:36 +00:00
Caolán McNamara
1de1b63c22
boost->std
...
Change-Id: Id55e334156628a916ce15fca8ec618eed0ae9366
Reviewed-on: https://gerrit.libreoffice.org/18683
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-09-18 14:27:53 +00:00
Noel Grandin
0619346216
convert Link<> to typed
...
Change-Id: Id600a5ee28440ee91c7089c8f7aa05f83bc0e63c
2015-09-17 12:22:47 +02:00
Noel Grandin
bd1da37163
convert Link<> to typed
...
Change-Id: I1ce46ea4784ecbd30a47d749d863173e0fe86fe6
2015-09-17 12:22:47 +02:00
Noel Grandin
4662def919
convert Link<> to typed
...
Change-Id: Iad25d514be71ea4d0f8d2b773197aa30371d776b
2015-09-17 12:22:47 +02:00
Noel Grandin
ac0eeb43aa
convert Link<> to typed
...
Change-Id: I2f59aec574ed2c5120c554bdff13a9efab6992df
2015-09-17 12:22:47 +02:00
Noel Grandin
1e2119fd02
convert Link<> to typed
...
Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641
2015-09-17 08:19:34 +02:00
Noel Grandin
44404a0c8a
convert Link<> to typed
...
Change-Id: If6334d32abbec379acbb9def98fdf6cb5144238b
2015-09-16 08:38:53 +02:00
Noel Grandin
c4fb1122b3
convert Link<> to typed
...
Change-Id: I628de57f87b4ba20a797d345bdf71cf10cf148fc
2015-09-16 08:38:53 +02:00
Caolán McNamara
3c68751f6b
cppcheck: noExplicitConstructor
...
Change-Id: If00a2de2c23271baaee126230c6bf9e657666ff4
2015-09-15 10:44:00 +01:00
Noel Grandin
e0714ae393
convert Link<> to typed
...
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
2015-09-15 09:37:31 +02:00
Matteo Casalin
3107b23762
sal_uInt16 and SAL_MAX_UINT16 to sal_Int32 and LISTBOX_APPEND
...
Change-Id: Id68a8369d0ca907d4afc0d8a22d31d1e4c24133c
2015-09-12 14:18:52 +02:00
Matteo Casalin
c5909e2518
Update many ListBox users to its sal_Int32 interface
...
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-12 14:18:50 +02:00
Noel Grandin
c80fb09256
convert Link<> to typed
...
Change-Id: I8f64b8f8e1e8ac7ce1475fc5132acb7171237a32
2015-09-11 08:48:55 +02:00
Noel Grandin
be73c1602d
convert Link<> to typed
...
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c
Reviewed-on: https://gerrit.libreoffice.org/18431
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-09-09 08:10:11 +00:00
Noel Grandin
61623d5b90
convert Link<> to typed
...
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-08 08:16:46 +02:00
Noel Grandin
0e1d027f84
use comphelper::containerToSequence and fix some casting
...
Change-Id: Ic476204e9db8a0cd1164002a4a8b55f90aef515e
2015-09-04 13:08:29 +02:00
Noel Grandin
4ea70f87f7
convert Link<> to typed
...
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4
Reviewed-on: https://gerrit.libreoffice.org/18306
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-09-04 06:31:30 +00:00
Noel Grandin
5beffcf3f1
convert Link<> to typed
...
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83
Reviewed-on: https://gerrit.libreoffice.org/18258
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-09-03 07:20:27 +00:00
Stephan Bergmann
c2f8beb593
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
...
Change-Id: Iea6b497b91b8874bfaded494a114cbeef4417b70
2015-08-31 08:03:39 +02:00
Tor Lillqvist
2de6bd04d9
Bin a few leftover (?) stderr printouts
...
If they are truly needed, use SAL_INFO then.
2015-08-28 14:32:29 +03:00
Noel Grandin
bd8b93fdff
make PostUserEvent Link<> typed
...
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-28 09:49:56 +02:00
Noel Grandin
167bc621ef
Convert vcl Button Link<> click handler to typed Link<Button*,void>
...
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-26 11:15:35 +02:00
Michael Weghorn
373e71ee65
tdf#39440 reduce scope of local variables
...
This addresses some cppcheck warnings.
Change-Id: I97726ed32e5aa92e7da7d248380a78b1b201e46e
Reviewed-on: https://gerrit.libreoffice.org/17912
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2015-08-21 22:25:03 +00:00
Stephan Bergmann
732f69e623
loplugin:defaultparams
...
Change-Id: I900ddfbba7f58d4ed78a709170506222a1feb320
2015-08-21 18:06:54 +02:00
Stephan Bergmann
d21260cdb6
Remove two silly typedefs
...
Change-Id: Ia7de1cebf6009e770ca1b96bab6d5e121573ccc1
2015-08-19 13:34:43 +02:00
Stephan Bergmann
5da0dce19c
Consolidate isFileUrl checks
...
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
2015-08-19 12:24:37 +02:00
Thorsten Behrens
ad1f0d1f1a
o3tl: rename compat_functional header
...
After the cleanup, the stuff there really stands on its own (and the
remaining usage of select1st/2nd is more descriptive than lambdas).
Change-Id: I0aba131d5dc550189f8130d167dc94167e404540
Reviewed-on: https://gerrit.libreoffice.org/17806
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2015-08-17 16:38:30 +00:00
Norbert Thiebaud
ef46917ff3
Put Polygon from tools under tools:: namespace
...
Polygon is one of these names that Clash with some system objects
A similar work has been done earlier with PolyPolygon.
Change-Id: Icf2217cb2906292b7275760f1a16be0e150312f5
Reviewed-on: https://gerrit.libreoffice.org/17789
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2015-08-17 02:07:43 +00:00
Noel Grandin
719c55cda7
loplugin: defaultparams
...
Change-Id: I455b200febc9939f3fb81597938b26c0e9eb5f74
2015-08-14 10:52:47 +02:00
Daniel Robertson
87130a4e18
tdf#92459 Cleanup unclear lambdas
...
Replace lambdas used to select the first/second member of a pair with
the new simplified select1st/2nd from o3tl/compat_functional. There
should be no side effects due to this change.
Change-Id: I17f37796e0c4defe96a10aa491d192adb9eebb89
Reviewed-on: https://gerrit.libreoffice.org/17656
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2015-08-11 22:29:12 +00:00
Stephan Bergmann
8a7b4d5bb5
Explicit capture annotations
...
Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204
2015-08-08 15:16:34 +02:00
Daniel Robertson
4ce10ff6ce
tdf#92459 remove compat_functional from extensions
...
Replace all uses of deprecated features from the o3tl in
compat_functional.hxx with lambda expressions in extensions. There
should be no side effects due to this patch.
Change-Id: Ib9a217c1d61593eaba82431ab047e5b899c74568
Reviewed-on: https://gerrit.libreoffice.org/17587
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2015-08-08 12:31:06 +00:00
Takeshi Abe
975875d53a
tdf#88206 replace cppu::WeakImplHelper* etc.
...
with the variadic variants in extensions.
Change-Id: I45e9dc5769150181df88791b3f748002ca713c02
Reviewed-on: https://gerrit.libreoffice.org/17517
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-08-06 08:14:23 +00:00
Noel Grandin
403c13487c
loplugin:unusedmethods
...
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba
Reviewed-on: https://gerrit.libreoffice.org/17506
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-08-05 09:39:22 +00:00
Noel Grandin
2660d24a07
new loplugin: refcounting
...
This was a feature requested by mmeeks, as a result of
tdf#92611.
It validates that things that extend XInterface are not
directly heap/stack-allocated, but have their lifecycle managed
via css::uno::Reference or rtl::Reference.
Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692
Reviewed-on: https://gerrit.libreoffice.org/16924
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-08-03 06:37:16 +00:00
Noel Grandin
38023af6c1
loplugin:unusedmethods
...
Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a
Reviewed-on: https://gerrit.libreoffice.org/17312
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-07-24 10:36:20 +00:00
Tor Lillqvist
ba39c9dd6a
Bin pointless #ifndef #define dance
...
Change-Id: I0f7a3183a16a56f831a828af9de6c8f8c459339a
2015-07-23 13:32:17 +03:00
Noel Grandin
e963a88912
formatting of public/private/protected section qualifiers
...
make it consistent across the codebase, no space between keyword
and the colon
Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5
Reviewed-on: https://gerrit.libreoffice.org/17148
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-07-17 09:49:35 +00:00
Stephan Bergmann
d9dd11e16d
loplugin:simplifybool
...
Change-Id: Ib1af2097743f81c0bdd237941eab017a5d463b37
2015-07-16 14:00:17 +02:00