Commit Graph

237 Commits

Author SHA1 Message Date
3fa329f610 coverity#707382 Uncaught exception
Change-Id: Idad4fbff404c23b74a83c2d3e745363c52c3d90a
2014-09-02 12:14:48 +01:00
9ed8e1f19c coverity#707409 Uncaught exception
Change-Id: I0f19cd6411c7008a4698fc81fd2ce9c4108ce8eb
2014-09-02 12:14:48 +01:00
6006747f0e Fix *_component_getFactory function type
Change-Id: I0f2fedc544349a69f29df5e83bec30ea510125f5
2014-08-21 17:22:20 +02:00
5494954b26 Refactored IDocumentLayoutAccess out of SwDoc.
Into the new class DocumentLayoutManager.

Change-Id: I02d0cfcc63633d0bdab380508b2ef563187fd269
2014-08-12 23:26:38 +02:00
274f1811b9 Refactored IDocumentRedlineAccess out of SwDoc.
Into the new class DocumentRedlineManager.
Added an non const version of GetRedlineTbl to the interface.
Also Moved SetAutoFmtRedlineComment which is not part of interface.

Change-Id: I600d5821d5d5831557f5fc5375fb1203fe67a295
2014-08-12 23:26:36 +02:00
11291be10e coverity#738453 Uncaught exception
Change-Id: Id05fd31d3a62bec8d658b9ecbae484ac081b8960
2014-07-15 11:56:08 +01:00
f9c460e34d coverity#738454 Uncaught exception
Change-Id: I9b344efa1b46a6e7c6b69d3044ef88b4cba826cb
2014-07-15 11:56:07 +01:00
c4d33c5f8f coverity#738457 Uncaught exception
Change-Id: I152f105e7bd363528d9fa4e365d32d12c00b0a44
2014-07-14 09:21:04 +01:00
346419a018 coverity#738452 Uncaught exception
Change-Id: I25f63c07103f55066f634fdd99411523425a9de1
2014-07-14 09:21:03 +01:00
52153a08a5 coverity#1224989 Uncaught exception
and

coverity#1224990 Uncaught exception
coverity#1224991 Uncaught exception

Change-Id: I10c1d5a5d8a2f3e3f12699d1f2bec9febe3df126
2014-07-10 13:39:19 +01:00
6b9cc44922 coverity#1224987 Uncaught exception
and

coverity#1224988 Uncaught exception

Change-Id: Idba0a2d289f00c8629be59b990a121044a099aa1
2014-07-10 13:39:19 +01:00
d16cc33b49 coverity#707407 Uncaught exception
Change-Id: Ib77be2231878dcb89524e6a5c5c4f1fe30e4e7d8
2014-07-10 13:39:18 +01:00
160c41759e coverity#707401 Uncaught exception
and

coverity#707404 Uncaught exception

Change-Id: I710963e601121d736ecd55c9dd8f9ec0a17ed815
2014-07-10 13:39:17 +01:00
98921d4c37 coverity#738460 Uncaught exception
Change-Id: I39d0665131432ce963b434925e23b9eab2e739ca
2014-07-09 09:59:02 +01:00
92fe8838f7 coverity#707382 Uncaught exception
and

coverity#707383 Uncaught exception
coverity#707384 Uncaught exception
coverity#707385 Uncaught exception
coverity#707386 Uncaught exception
coverity#707387 Uncaught exception
coverity#707388 Uncaught exception
coverity#707389 Uncaught exception
coverity#707390 Uncaught exception
coverity#707391 Uncaught exception
coverity#707409 Uncaught exception
coverity#707411 Uncaught exception
coverity#707413 Uncaught exception
coverity#707414 Uncaught exception
coverity#706919 Uncaught exception
coverity#706920 Uncaught exception
coverity#706933 Uncaught exception
coverity#706935 Uncaught exception
coverity#706968 Uncaught exception
coverity#706970 Uncaught exception
coverity#706973 Uncaught exception
coverity#706974 Uncaught exception
coverity#707032 Uncaught exception
coverity#707044 Uncaught exception
coverity#738455 Uncaught exception
coverity#738456 Uncaught exception

Change-Id: Ifd4c0a2b6b4ddcb5df01a951b8d56435ee32d754
2014-07-09 09:59:02 +01:00
ed8678f3f8 coverity#707392 Uncaught exception
Change-Id: I184df03332187bd97ae715e8a2a7966e7f09a21d
2014-07-09 09:59:01 +01:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
887b3a3562 loplugin:staticcall
Change-Id: I26e1e0f66dad5ed4e8351fc7509449b312559166
2014-06-13 17:54:35 +02:00
e2ae9f3e8c coverity#707393 Uncaught exception
Change-Id: I89ea074bacf7884fe8b8471cfd208f643326a7e1
2014-06-13 12:28:36 +01:00
0b36794425 coverity#735985 Unchecked dynamic_cast
Change-Id: I1bb293567cf6e6437d1ac1f257b25d7de1d0ac75
2014-06-12 15:23:29 +01:00
470843ff2d coverity#705043 Unchecked dynamic_cast
Change-Id: I554cda341894bbf35c16cdf0d9eb77ffea32f5e2
2014-06-10 16:08:09 +01:00
1af37550cf coverity#738461 Uncaught exception
Change-Id: Iecc2653faae6bebd31909139392586fe66a17cb4
2014-05-28 16:23:40 +01:00
0a3fe4c281 Remove ASCII art and useless comments from sw module
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2
Reviewed-on: https://gerrit.libreoffice.org/9494
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27 01:46:44 -05:00
9a34b9152b cid#707399 Uncaught exception
Change-Id: I42d2cdb3a2341f156cd3fd70a9a476a8eb5423d8
2014-05-26 14:47:34 +02:00
ff2573ca68 cid#707410 Uncaught exception
Change-Id: I54bcc0fc7d54ca7bae35130ef620100c9088b4d2
2014-05-26 14:47:34 +02:00
49352b4e54 cid#707415 Uncaught exception
Change-Id: Ia4674e74621fe152ba764f3beaa7376533977d19
2014-05-26 14:47:33 +02:00
64da31ab88 coverity#738462 Uncaught exception
Change-Id: I1450211333d2c04cacc80bc66eb228d5c2e7281d
2014-05-24 16:11:02 +01:00
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
76e8779787 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
2014-05-08 18:12:58 +02:00
09abd826a0 remove uncompiled source files
how to find possible candidates:

find . -name *.cxx | grep -v compilerplugins > cxx.list
for i in `cat cxx.list`; do basename $i .cxx; done > cxx.base.list
for i in `cat cxx.base.list | sort -u`; do echo $(git grep -w $i -- '*.mk' | wc -l) $i; done > cxx.count

Change-Id: I15c6cc7195e58d79967388850a0c90b915b001b7
2014-05-06 18:12:28 +02:00
6aa35db393 sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-30 08:44:42 +02:00
18891c5d7d coverity#707380 Uncaught exception
Change-Id: I630323bb7b371925541f466563562378c339be6e
2014-04-23 09:40:03 +01:00
caa5a3ae55 coverity#707379 Uncaught exception
Change-Id: Icaf92098dd7c9b9b6094212d62f5209c63d823d8
2014-04-23 09:40:03 +01:00
7062961299 coverity#707371 Uncaught exception
Change-Id: I5b1de7ec2060aa4083a07c2ce250b47d798155f7
2014-04-23 09:40:03 +01:00
8e7ec95d7c coverity#989725 Uncaught exception
Change-Id: I8904995c474146746623cfda36b8ddb81146070c
2014-04-22 21:12:19 +01:00
4394c6b95c coverity#707375 Uncaught exception
Change-Id: I7fc84a17637d6dd4191525e91d49dd4e24bd3a26
2014-04-17 21:13:52 +01:00
0c8a3a82c1 coverity#1202778 Logically dead code
Change-Id: Ie3f297bb5bf05bb133d964ddfe4d4f16af1eb73f
2014-04-16 16:41:57 +01:00
2df39f400d sw: clean up inter-module includes
Change-Id: I812842e76ae0b7bc252530d2b4aaa2b452c2babf
2014-04-15 21:22:04 +02:00
2afe4c170d Clean up function declarations and some unused functions
Change-Id: I58c425ab9d2c01f8844226aff820dd56d88ec09c
2014-04-15 13:56:21 +02:00
75f5d9d214 typo: postion -> position 2014-04-14 12:32:40 +02:00
60c8df4326 remove static strings 2014-04-14 12:31:55 +02:00
84272d115d Introduce twip/mm100 conversion functions instead of duplicated macros
Change-Id: Ib689e35b417e0e9016cd6a239c986e0603a99d62
Reviewed-on: https://gerrit.libreoffice.org/8837
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-11 10:19:05 +00:00
b852bf36d3 coverity#707400 Uncaught exception
Change-Id: I4c68ea7061af04616eda27365b16cfa57200ffbc
2014-04-05 21:11:44 +01:00
7969655b95 coverity#707406 Uncaught exception
Change-Id: I5fc9d24390d0a90f89c3e71e87bf37ddd9c2fe67
2014-04-05 20:53:15 +01:00
39d792c180 coverity#707408 Uncaught exception
Change-Id: Ie4b540b2d49841182769946c4ce8d39cb2d7a3fe
2014-04-05 20:43:53 +01:00
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
ba73873ea7 vbahelper: sal_Bool->bool
Change-Id: Ic4bcc2fa02426e1995d08a6992cc5b35777c1c9a
2014-04-03 09:17:51 +02:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
ef4623bb58 coverity#1194931 Uncaught exception
Change-Id: I3ecfce8289e1dec8cfb42ebde990a3119c370986
2014-03-31 11:19:11 +01:00
4602625913 coverity#735550 Dead default in switch
Change-Id: I730b12aa971757e70d7df7b9cd4ec9c67fb4468e
2014-03-28 09:25:01 +00:00