Commit Graph

1069 Commits

Author SHA1 Message Date
67cba3af55 coverity#707318 Uncaught exception
Change-Id: Ib2d4b2e6c4df70da1d8a4b5bf39f69efea45ad5e
2014-09-02 12:14:48 +01:00
dddd9b41f5 Simplify type detectors
Change-Id: Ic731c1c4c76d8d6779868d7e3e4c02cb3cadc844
Reviewed-on: https://gerrit.libreoffice.org/9222
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-05-01 17:03:31 +00:00
6aa35db393 sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-30 08:44:42 +02:00
680139fe7d typo: opend -> opened 2014-03-29 19:16:33 +01:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
5fe7ecc04f sfx2: sal_Bool->bool
Change-Id: I56a50ee4a169c8f82c830ebf498f7ead1335f0b5
2014-03-14 07:50:34 +02:00
a652ea0fc4 fdo#70422 Moved the linked files from sw/source/ui to a new core/uibase dir
Moved the files linked in sw/Library_sw.mk from sw/source/ui to
sw/source/core/uibase and modified the make files as per the new
directory location.

Reviewed on:
	https://gerrit.libreoffice.org/8447

Change-Id: I05f6ccdeee5e76fb0ae477d16721d9ddc6eaff32
2014-03-09 21:53:34 +01:00
a27462189d Remove visual noise from sw
Conflicts:
	sw/inc/unodraw.hxx
	sw/inc/unoframe.hxx
	sw/sdi/swriter.sdi
	sw/source/core/unocore/unoframe.cxx
	sw/source/core/unocore/unoparagraph.cxx
	sw/source/filter/ww8/rtfexportfilter.cxx
	sw/source/ui/inc/unotxvw.hxx
	sw/source/ui/lingu/hyp.cxx
	sw/source/ui/lingu/sdrhhcwrap.cxx
	sw/source/ui/uno/swdetect.hxx

Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908
Reviewed-on: https://gerrit.libreoffice.org/8322
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 09:41:00 -06:00
ac44fc6bfd coverity#1187860 Uninitialized pointer field
Change-Id: Ia68958ddb904cbb50969b3b184777ddd49ccb677
2014-02-27 12:58:47 +00:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
4cc356bfa8 coverity#738451 Uncaught exception
Change-Id: I43473afc753a7d348273e58121f2446974d43957
2014-02-25 16:12:22 +00:00
334e99c082 coverity#738449 Uncaught exception
Change-Id: I74c125c9a7aca1f9e2f23f83878d9ba1797eee34
2014-02-25 16:12:22 +00:00
544d618c5b coverity#738447 Uncaught exception
Change-Id: I66d00eb490d30fa08aaa658072b2a12d165be6f7
2014-02-25 16:12:21 +00:00
67593fd510 coverit#738445 Uncaught exception
Change-Id: Ib4b7abfbf8f3c2bd853c72ffe399abdeb9ecf945
2014-02-25 16:12:21 +00:00
a007379220 coverity#738442 Uncaught exception
Change-Id: I932b9afe1842a3b834e749268ae211ca928026f1
2014-02-25 16:12:21 +00:00
75b61186dc coverity#738440 Uncaught exception
Change-Id: I9c8b9f9cc8dc0df224d64cf50c5d0982c7852049
2014-02-25 16:12:21 +00:00
b5363ca990 coverity#738439 Uncaught exception
Change-Id: Id41ca6a0c254777fec3894c11fc755d9087af51a
2014-02-25 16:12:20 +00:00
904f205746 coverity#738437 Uncaught exception
Change-Id: I90cf43d9d39c7c1b8da4123edaeeec200e6353a7
2014-02-25 16:12:20 +00:00
24b1935680 coverity#738435 Uncaught exception
Change-Id: I8e6c6c79b96f03cc8d3ac93ce0bd1f9208981bfa
2014-02-25 16:12:19 +00:00
ba6720f633 coverity#738434 Uncaught exception
Change-Id: I90f99cb563e65dedfb973aa0c54a7124c699d32b
2014-02-25 16:12:19 +00:00
6ee74484e5 coverity#738433 Uncaught exception
Change-Id: I6022d88ec96fcd4f8221ac361e34c488f4fb8839
2014-02-25 16:12:19 +00:00
eaf83bb208 coverity#738431 Uncaught exception
Change-Id: I32aab64372133f3b5cdcad0d5c9952d685be7223
2014-02-25 16:12:19 +00:00
5364f4fda2 coverity#38429 Uncaught exception
Change-Id: Ie4d5e38313156279f77ba17f91aba0bddb0c1478
2014-02-25 16:12:18 +00:00
7412cb8309 coverity#738428 Uncaught exception
Change-Id: I282ecb5b7659d98cfe91b7e89c14e822105a7323
2014-02-25 16:12:18 +00:00
8c91a82e8d coverity#738426 Uncaught exception
Change-Id: I0a31715a79cde61ceb104e82dc05c5a752f9085d
2014-02-25 16:12:18 +00:00
d719713cd8 coverity#738423 Uncaught exception
Change-Id: I7cdfd3e6331d0e600a022bc93be60df5e9bceaee
2014-02-25 16:12:17 +00:00
9fa17abcf6 coverity#738420 Uncaught exception
Change-Id: I3470c6981463b27ffa9cd9fbc79f96c41a43b847
2014-02-25 16:12:17 +00:00
e13c43a8aa coverity#738419 Uncaught exception
Change-Id: I6a8a0b9038c5845cb04f6b9e43d8dce997442dc7
2014-02-25 16:12:17 +00:00
f0e8564921 coverity#738418 Uncaught exception
Change-Id: I2b0149795b28325ecfbf7738c30181337d5a3187
2014-02-25 16:12:16 +00:00
579d077dbd coverity#738417 Uncaught exception
Change-Id: I654883e6e2e1826fba8bb922faff84a0b2541024
2014-02-25 16:12:16 +00:00
f0d873b706 coverity#738416 Uncaught exception
Change-Id: I94ae558032d16f3000909c266c808d4c187c0e70
2014-02-25 14:27:47 +00:00
e6b2349ff0 coverity#738372 Uncaught exception
Change-Id: I83ebbdde3be1163bbd52bd1f4e49aab11e6d0e58
2014-02-25 14:27:46 +00:00
c80621d399 coverity#738369 Uncaught exception
Change-Id: I0c1c30d5e2b9bd9ca176792edf720f8af3979ca8
2014-02-25 14:27:46 +00:00
856ec7313e coverity#738367 Uncaught exception
Change-Id: I41afb24b6570132164bfc469ec9cb4bcfc0cba2b
2014-02-25 14:27:45 +00:00
7b3db94ac7 coverity#738360 Uncaught exception
Change-Id: I5f21bf9ba7fb396b209623861cb9f555c3b5d6a1
2014-02-25 14:27:45 +00:00
d6740ca95e coverity#738351 Uncaught exception
Change-Id: I007084047ea6640afbb4b6a451565d6561174b5c
2014-02-25 14:27:44 +00:00
b2a1953392 coverity#738348 Uncaught exception
Change-Id: I0c3b4c1f6aa7efb98c7e96b9f71d47ea51576936
2014-02-25 14:27:44 +00:00
76b114f849 implicitboolconversion: warn about implicit conversion of call args to bool
...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f
"sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it"
earlier when converting occurrences of sal_Bool to bool.

Restricting this check to function call arguments avoids too much noise while
hopefully still catching all the relevant problems.

(This check partially overlaps the pointertobool check, so implicit conversions
from pointers to bool call arguments will now generate two loplugin warnings,
but that's harmless.)

Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24 17:25:05 +01:00
e72f739393 coverity#707318 Uncaught exception
Change-Id: I65bfcbe4ab6fceed3ae474dcb3225df197ddaa2b
2014-02-24 12:53:09 +00:00
c1587b74c1 coverity#1158357 Uncaught exception
Change-Id: I7d93f1c1a4e9c4b91c385d6f9e1aaab2fe635327
2014-02-21 15:30:26 +00:00
0e0ac7cc65 coverity#705038 Explicit null dereferenced
Change-Id: I63f726764d68b92e2272951c9dde14ef3a60d6df
2014-02-21 15:30:25 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
7e06ccad8f editeng: sal_Bool->bool
Change-Id: I36cb765d87ddef1fba3447a3ea90e5285cbcd678
2014-02-21 12:19:23 +02:00
1125547410 cid#705962 dereference before null check
Change-Id: Id31913ea90c32f869677a54d522a8bc089c7290c
2014-02-17 14:04:27 +02:00
6555145157 coverity#738374 Uncaught exception
Change-Id: I68e317d7f7a419ed5901d745a9477e0d4570db45
2014-02-12 13:03:57 +00:00
be1fd3b6ac coverity#738381 Uncaught exception
Change-Id: Ie94bd97976f98cad5f21c96ef7344d4e66983fcc
2014-02-12 13:03:56 +00:00
4cafc42299 coverity#738382 Uncaught exception
Change-Id: I927b3a9b4961f733a41b917929b304196d273fc7
2014-02-12 13:03:56 +00:00
fef8fb7a8c coverity#738383 Uncaught exception
Change-Id: I70c710fe93aa864c2b1ca15d7ae1c04a158c149d
2014-02-12 13:03:56 +00:00
7a9bdd7992 coverity#738385 Uncaught exception
Change-Id: I74c6b17ce72f1c8d4bb8c47e6745f1471b4b4580
2014-02-12 13:03:56 +00:00
34f79b0888 coverity#738387 Uncaught exception
Change-Id: I5950be0f874587ed3f4776b329401e43e6407bda
2014-02-12 13:03:55 +00:00