Commit Graph

384547 Commits

Author SHA1 Message Date
Caolán McNamara
cbc5dc14d6 coverity#1326190 Explicit null dereferenced
set this back to its original code pre..

commit e5bc8b60ec
Date:   Tue Aug 5 12:18:20 2014 +0200

to silence coverity about it

Change-Id: I9d8f1bda1a32fbf97c0bdc73edfeab9f74d6443a
cids: 1326180<->1326190
2015-11-24 10:35:44 +00:00
Caolán McNamara
79391ca309 coverity#1326265 Explicit null dereferenced
Change-Id: I802e0f854cb5c560e7a860f2fcec0330e481da6c
2015-11-24 10:35:44 +00:00
Caolán McNamara
8540bcc810 coverity#1327143 UrF: Unread field
Change-Id: Iff1a546cca83fed6fc81836e447bc30d68969274
2015-11-24 10:35:44 +00:00
Caolán McNamara
606d0ef777 coverity#1326596 Useless call
Change-Id: I9aff17d367ba48609067abdb2a5fb5111daee38c
2015-11-24 10:35:43 +00:00
Caolán McNamara
ee283cd59f coverity#1326597 Useless call
Change-Id: I4f51d49a18adf76a741d55d67ed3ba2a7a2cc439
2015-11-24 10:35:43 +00:00
Caolán McNamara
61273b37ec coverity#1326892 FE: Test for floating point equality
Change-Id: I47b9ccf2685bd0f37ee2722e93fad9ed668c3b81
2015-11-24 10:35:43 +00:00
Caolán McNamara
6318552774 coverity#1326891 FE: Test for floating point equality
Change-Id: I5cf13dfb5e085684b333c47d6bee73f92b758e81
2015-11-24 10:35:43 +00:00
Caolán McNamara
7ab95e6fca coverity#1326890 FE: Test for floating point equality
Change-Id: I767df959a9b8d9845cb56a34538707c599f82849
2015-11-24 10:35:43 +00:00
Stephan Bergmann
827811ae7e -Werror,-Wunused-private-field
Change-Id: I595f0c2b05b96fbf2055a37e335f8c700044a699
2015-11-24 11:28:56 +01:00
Stephan Bergmann
97e24dc653 m_aCurrentRequest is not unused
...broken with dd351dd728 "loplugin:unusedfields
in vcl/"

Change-Id: I7e9cac85ab52e538c2ce3941c8eeffb73d3d387f
2015-11-24 10:51:43 +01:00
Philippe Jung
e4ec9232b6 Add sc version of toggletabbarvisibility icons
Change-Id: Ie6097aeb8847971e79b78e83a9522e49d7271652
Reviewed-on: https://gerrit.libreoffice.org/20141
Reviewed-by: Philippe Jung <phil.jung@free.fr>
Tested-by: Philippe Jung <phil.jung@free.fr>
2015-11-24 09:16:16 +00:00
Michael Meeks
e8a2170e18 vcl: fix for kde4.
Change-Id: If68e58a5b1d6dfe7d7851513eed73ec20d1cd912
2015-11-24 09:20:29 +00:00
Noel Grandin
f273676325 update unusedfields plugin to use new clang warn_unused attribute support
Change-Id: I7b84de29b672e40cbf3c3d340d235f334d2be8cb
2015-11-24 11:04:33 +02:00
Noel Grandin
c18c50cda3 add SAL_WARN_UNUSED to css::uno::WeakReference and SvCompatWeakRef
Change-Id: Idb784d398ed22f2291f1beaffb82f68642d68bcd
2015-11-24 11:04:33 +02:00
Michael Meeks
4bd8ffd27f Replace return boolean from DoYield with pleasant enumeration.
Change-Id: I1b1f885b4d7916a18dfb2457a8e9af9a5b4ae6e4
Reviewed-on: https://gerrit.libreoffice.org/20138
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24 09:02:31 +00:00
Miklos Vajna
37b5f1ed31 tdf#78902 VML import: workaround for extreme top margin
Regression from commit 2b78f2cd7b (rhbz#988516:
DOCX import: fix context stack when importing header/footer, 2014-03-05),
though that just made an existing Writer layout problem visible.

RTF/WW8/newer (drawingML) DOCX import doesn't have this problem, as those
import pictures as sw graphics, not draw ones.

<w10:wrap type="through"/> is normally mapped to our page wrap (as it uses
"through" in the "not only wrap around, but also in the holes of the shape, if
it has any" context, not in our "text should go through it, so no wrapping"
one), but for some reason in this case (most probably due to the extreme large
negative margins) Word handles the situation as our through, i.e. the text
should not go to the second page, as it would normally happen with a "Word
through" wrapping.

Work around the strange situation by ignoring the wrapping request for extreme
top margin values.

Change-Id: I20555b1fa7a769e20c40a3a5ff3873807403e937
2015-11-24 09:22:16 +01:00
Noel Grandin
dd351dd728 loplugin:unusedfields in vcl/
and remove the unused SALEVENT_MOUSEACTIVATE stuff

Change-Id: Ieb85872eca68621c6a7be47ff5dbea12f7690507
Reviewed-on: https://gerrit.libreoffice.org/20140
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-24 08:17:55 +00:00
Noel Grandin
145a995411 loplugin:unusedfields in xmlsecurity/
Change-Id: I11bb62b0c90de361b7cd06608e77483786750ebb
2015-11-24 10:09:26 +02:00
Noel Grandin
e0bf7914b4 loplugin:unusedfields in xmloff/
Change-Id: I1fb9cb1bc04fb0886d6080f62899a04e8fd4429e
2015-11-24 10:09:26 +02:00
Noel Grandin
22c5968314 loplugin:unusedfields in xmlhelp/
Change-Id: I1db28ad3670c166201050a4e19a50ec13a82fa76
2015-11-24 10:09:26 +02:00
Noel Grandin
52cd3fb547 loplugin:unusedfields in writerfilter/
Change-Id: I32348ef0aed955ab799ba90a59f4b511becb67e8
2015-11-24 10:09:26 +02:00
Stephan Bergmann
bbc7c0aea4 Silence clang-cl warnings in system ATL includes
Change-Id: Ie9c35db4404182efa948949851caabf402f2d74b
2015-11-24 08:47:03 +01:00
Stephan Bergmann
bce4c82f3a -Werror,-Wreorder
Change-Id: I0a82c589b77ee247ce43dbfd88767100b7bd4147
2015-11-24 08:47:03 +01:00
Stephan Bergmann
330a67586c -Werror,-Wlogical-op-parentheses
Change-Id: Ifbac95117d58d0fd9f40ef373e14544a37c0cce6
2015-11-24 08:47:02 +01:00
Stephan Bergmann
149469ca9e -Werror,-Wwritable-strings
Change-Id: Ib407ba5bb6b20281948ba83a4e150b9fe19c19d9
2015-11-24 08:47:02 +01:00
Stephan Bergmann
3fea33d6c8 -Werror,-Wreorder
Change-Id: Iaefccb789c7f3d3da259af39a909ebc2abeccc74
2015-11-24 08:47:02 +01:00
Stephan Bergmann
6b71293436 -Werror,-Winconsistent-missing-override
Change-Id: I851a1ce314dc3c47744d7a039065a945e62568d8
2015-11-24 08:47:01 +01:00
Stephan Bergmann
997ec3f486 -Werror,-Wunused-local-typedef
Change-Id: I72b1fe3d183e0d2af40c3af2f2a65fdc0c251624
2015-11-24 08:47:01 +01:00
Stephan Bergmann
7d41b30eb4 -Werror,-Wint-to-pointer-cast
Change-Id: I27098dec221b5019aaef927cf9567910621fdd3d
2015-11-24 08:47:01 +01:00
Stephan Bergmann
6525d1663f -Werror,-Wenum-compare
Change-Id: I165daea216ac3b960d11dfece861f4fb21209ed0
2015-11-24 08:47:00 +01:00
Stephan Bergmann
dc5cb4d47d -Werror,-Wwritable-strings
Change-Id: Ief710b95ab7f41ef5fcb534dabe05311aa1135d3
2015-11-24 08:47:00 +01:00
Stephan Bergmann
96fd3d32fa -Werror,-Wreorder
Change-Id: Ie400720915ad9e6a075666dcac2b1b3711376bf3
2015-11-24 08:47:00 +01:00
Stephan Bergmann
441236a3e0 -Werror,-Wenum-compare
Change-Id: I1d4263e9f754d85eb70bc5ce88fe1deffb05e9bb
2015-11-24 08:46:59 +01:00
Stephan Bergmann
a5ad198816 -Werror,-Wlogical-op-parentheses
Change-Id: I48bcb6e35ffc3ce73a2142e52f453b1c839e4831
2015-11-24 08:46:59 +01:00
Stephan Bergmann
8b5182155b -Werror,-Wmicrosoft-exception-spec
Change-Id: Iba187daa891d326011cddecf09daa349e9090913
2015-11-24 08:46:58 +01:00
Stephan Bergmann
ef02b16e2f -Werror,-Wreorder
Change-Id: Iecb4fcc79614eee8dbfa7980c50f41150110711b
2015-11-24 08:46:58 +01:00
Stephan Bergmann
a93c3c8744 -Wmicrosoft-default-arg-redefinition
Change-Id: I69c009af5d5bd8d497a636eaa1de9b8eed919c8f
2015-11-24 08:46:58 +01:00
Stephan Bergmann
3b55411a0a -Werror,-Wlogical-op-parentheses
Change-Id: I2fa3e03d34a371cec694f58cf71f15df6f52c63a
2015-11-24 08:46:57 +01:00
Stephan Bergmann
d1f44ab2d8 -Werror,-Wreorder
Change-Id: Iccdd21e974671f8d02cf1b55f0f828cdc881aedc
2015-11-24 08:46:57 +01:00
Stephan Bergmann
0ea6755161 -Werror,-Wunused-variable
Change-Id: If674f0a3199a43cec84eb8cfb3b3c1d334a288ca
2015-11-24 08:46:57 +01:00
Stephan Bergmann
fa257a38b0 Use Get/SetWindowLongPtr, for 64-bit build
Change-Id: I02e5ca8dad87c24f8bf6e192a6b37ffc82a5a04a
2015-11-24 08:46:56 +01:00
Stephan Bergmann
04277e7bcf -Werror,-Wbitwise-op-parentheses
Change-Id: I36bd91dc2bb77a09f59e865527db1e9c6724a652
2015-11-24 08:46:56 +01:00
Stephan Bergmann
0968238517 Expand single use of SendCommand macro
Change-Id: I8af259f55e8fc318ccdbc69bba00ae0d7d3aacdb
2015-11-24 08:46:55 +01:00
Stephan Bergmann
63915326cb -Werror,-Wreorder
Change-Id: I8350b7e60e54eb0f0be5fa33a4ca4de40551618c
2015-11-24 08:46:55 +01:00
Stephan Bergmann
e3eebcc45c -Werror,-Wlogical-op-parentheses
Change-Id: I39f59a88c34c37bad520dd44f3e8fcaf4a016eee
2015-11-24 08:46:55 +01:00
Stephan Bergmann
5508383014 -Werror,-Wreorder
Change-Id: I71e3d8878a8c7190ef239e4529d23eccaadc80d6
2015-11-24 08:46:54 +01:00
Stephan Bergmann
cf2f0f9c20 -Werror,-Wint-to-pointer-cast
Change-Id: I6db7d7595fda972e7c5d5c24d235678671478975
2015-11-24 08:46:54 +01:00
Samuel Mehrbrodt
1e82a3e6e3 Vcl: Cleanup Toolbox
* Move defines to header file
* Limit line length to 120 chars
* Some other smaller cleanups (unused defines etc)

Change-Id: I14b52579f9b5bae4ea0bc1df434cc3d29c223d4e
Reviewed-on: https://gerrit.libreoffice.org/20133
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-24 07:22:01 +00:00
Noel Grandin
00bb8141be loplugin:unusedfields in ucb/
Change-Id: Ic9ca044aa2465a197397bec6632e1a5aa5fe7110
2015-11-24 08:09:58 +02:00
Noel Grandin
acc4acb9ca loplugin:unusedfields in tools/
Change-Id: Ic460bf42cbcf356cdcebbd5060a0dad3d3caa4ef
2015-11-24 08:09:24 +02:00