Commit graph

391216 commits

Author SHA1 Message Date
Stephan Bergmann
07b4791dc8 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Icfa6686ee96e4c9ddf23abc3ece6beae6521473a
2016-04-20 17:25:42 +02:00
Stephan Bergmann
ed467869d8 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idf27ee5370f1fa24adf22908d9e801c7d40db935
2016-04-20 17:25:42 +02:00
Stephan Bergmann
4d31d08215 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I58d7c95c77e67f315b33d1f83ac80148f93af450
2016-04-20 17:25:42 +02:00
Stephan Bergmann
bfb185c408 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I74cf43df85a878ee9af69901b2535f63461cb61e
2016-04-20 17:25:41 +02:00
Stephan Bergmann
07ea0e64f2 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I887a9161107e58c9343d240c2b54e02f4e59567f
2016-04-20 17:25:41 +02:00
Stephan Bergmann
2ee796ba49 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ief96e7038461f514d8fe5bf16b7181b122715775
2016-04-20 17:25:40 +02:00
Stephan Bergmann
4bff11d579 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I31a6e4ba81fab2843e5bc9a390fa7b0a5ec29411
2016-04-20 17:25:40 +02:00
Stephan Bergmann
bc9047540a loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I8542bfaf9e27792369617c44258ddcc393e490a2
2016-04-20 17:25:40 +02:00
Stephan Bergmann
9ad66e5ae9 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I626b79e1450d78aec96c206db82bf64a47305d08
2016-04-20 17:25:39 +02:00
Stephan Bergmann
cde88284e8 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I8130752ca7ccd47cda91458e39fbb56470ee38e5
2016-04-20 17:25:39 +02:00
Stephan Bergmann
f8ce00be4e loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie48c55954d479092ef0447711c442b760905a2b4
2016-04-20 17:25:39 +02:00
Stephan Bergmann
6009d33823 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5cd8fd979fd4caa3d7cde599096627bfdd0dec7e
2016-04-20 17:25:39 +02:00
Stephan Bergmann
e5434c67b1 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I0953cecd363dd75e6a4438d34d47035f53f334a6
2016-04-20 17:25:38 +02:00
Stephan Bergmann
918faa4a16 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: If965f73934c182a1c96d9fdca6f395c256f6b259
2016-04-20 17:25:38 +02:00
Stephan Bergmann
e7f330fa4a loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I47acc5590a935c7f9089231efbb1319664942f16
2016-04-20 17:25:37 +02:00
Stephan Bergmann
15e410e5af loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I6fada7331ee369c35cbe019db4e730ce56cd1a1f
2016-04-20 17:25:37 +02:00
Stephan Bergmann
f555ab4e96 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idb7e5ff0c73bbc2c462b92cd96444eb5d2d4194b
2016-04-20 17:25:37 +02:00
Stephan Bergmann
08bb436ff9 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I1230a1785c61b8ef5dab97176e7c06600ac95a5b
2016-04-20 17:25:36 +02:00
Stephan Bergmann
a30148d3fc loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie7f382fb47463d9bc315dc767c1d0550145ec935
2016-04-20 17:25:36 +02:00
Stephan Bergmann
9a978d62ad loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ideaafe1920c9e27de7ed9e9f4fe9fc7cb8c3b6aa
2016-04-20 17:25:36 +02:00
Stephan Bergmann
da50c790a7 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ib91f20761167ab78b68813d8877dceea5fef801f
2016-04-20 17:25:35 +02:00
Stephan Bergmann
6546ed8c79 Replace sal_Bool with bool in vector<pair<...>>
Change-Id: I158e78ff4c7fc5d5d894a27599d533419eea1fe7
2016-04-20 17:25:35 +02:00
Stephan Bergmann
40d6b81b9e Replace map to sal_Bool with map to bool
(Though this looks like it wants to use a set instead of a map, anyway.)

Change-Id: I755581d3915dca902e7b96efea16d4d29cb0158a
2016-04-20 17:25:34 +02:00
Stephan Bergmann
fde48126df Replace map to sal_Bool with map to bool
(Though this looks like it wants to use a set instead of a map, anyway.)

Change-Id: I63907d2fa3bc3a50ff1ea2a44b39b0859eb56d94
2016-04-20 17:25:34 +02:00
Stephan Bergmann
80018b6006 Replace map to sal_Bool with map to bool
Change-Id: Ib75d197293d7854976b131f61dc78536a4ac8a97
2016-04-20 17:25:34 +02:00
Stephan Bergmann
980af0f1ec SvxNumberFormat::SetIncludeUpperLevels takes a sal_uInt8, not a sal_Bool
Change-Id: Ifc86437140bae3223238fa8e5aaf5a4d57537b32
2016-04-20 17:25:33 +02:00
Stephan Bergmann
79bffab708 Remove redundant comparison against sal_False
Change-Id: I6e5e5d730a8e7e3efc50472db08d0ed258ffbb3a
2016-04-20 17:25:33 +02:00
Stephan Bergmann
5eef994ba9 Replace vector<sal_Bool> with vector<bool>
Looks like the use of these vectors is simple enough to not have to worry too
much about the common wisdom to avoid vector<bool>.

Change-Id: Ie4d6b51e42365a7c8d1de59a787bb13f78cd2a11
2016-04-20 17:25:33 +02:00
Stephan Bergmann
e2baeba6e2 loplugin:simplifybool
Change-Id: I6e8c06c28d710709d4a6b240e634d0216823cbe4
2016-04-20 17:25:32 +02:00
Stephan Bergmann
242b2ad3e1 Remove redundant comparison against sal_False
Change-Id: Ibbaf7c3e013a4b098640f4354f8d1e46c13e43af
2016-04-20 17:25:32 +02:00
Stephan Bergmann
a3858ed3a7 Use cast to bool to normalize sal_Bool values
Change-Id: I8a886f752d2a16ec4c10656bcd0b3631647971b2
2016-04-20 17:25:31 +02:00
Stephan Bergmann
12a4f93d1d Use bool instead of a sal_uInt8 bit
Change-Id: Id918fd609afaa4fcfcd90f60baac165d7d6280d9
2016-04-20 17:12:40 +02:00
Laurent Balland-Poirier
cbae4ec3c9 tdf#99361 Separate checkbox in Sidebar
"Thousands Separator" and "Engineering notation" used the same checkbox,
 so help tips texts were the same.
This commit creates a second checkbox which is hiden/shown
 according to category selected

Change-Id: I804c2c7b4625497da8e423a952b357fbd8bbfa19
Reviewed-on: https://gerrit.libreoffice.org/24173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-20 14:26:40 +00:00
Stephan Bergmann
8d7b9d7d23 SvDDEObject::nError is never read
...at least since 98eabdaa5a7f4a35b87925361a5a437077e274c0/
14483df71f "INTEGRATION: CWS mav09: #i27773# move
implementation from so3" moved the code to where it is today.

Change-Id: Ia57aee6e0ea2f1c179ca542046dd26b86c9b7e04
2016-04-20 16:11:58 +02:00
Laurent Balland-Poirier
b24cc06769 tdf#99361 Separate checkbox in Number dialog
"Thousands Separator" and "Engineering notation" used the same checkbox,
 so help tips texts were the same.
This commit creates a second checkbox
 which is hiden/shown according to category selected

Change-Id: I94913e63e47b760deb747ce7cd3d74ab4c109599
Reviewed-on: https://gerrit.libreoffice.org/24224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-20 13:33:06 +00:00
Adolfo Jayme Barrientos
840a48b5ff Updated core
Project: help  858dfcab49af9ca0c3144efa27495dbeae982e13

Fix second-level headings to actually be “level=2”

Change-Id: I393ca75c683323088e7d55a6d0bf3ee177994d33
2016-04-20 13:21:14 +00:00
Mark Hung
3c99cc8b82 tdf#97567 xmloff: use programmatic name for imported automatic style.
Adopt programmatic name in created document model to prevent
imported automatic style from referring a programmatic name that is
not imported to a default style.

Note for English UI, the pragammatic name is the same as the
display name, hence using a display name wouldn't cause the
problem.

Change-Id: Iaf31431a516e3d097e2a22a6be51aa68f6a6eef6
Reviewed-on: https://gerrit.libreoffice.org/23247
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
2016-04-20 13:19:53 +00:00
Jan Holesovsky
c9b1bfd080 TextCharacterSpacingControl: Fix loplugin:vclwidgets warning.
Change-Id: I16c0f137d4dbf9b495b4be8ca32c009e2676ee0b
2016-04-20 14:13:48 +02:00
Noel Grandin
b0c0a074a2 clang-tidy clang-analyzer-deadcode.DeadStores
suspect that some of these may reveal latent bugs....

Change-Id: I9de9aabbda9c8952715631577c29c1830df1eb71
Reviewed-on: https://gerrit.libreoffice.org/24200
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-20 11:02:45 +00:00
Caolán McNamara
29a9f433c2 Resolves: tdf#91778 drawing the background over an active cursor
will overwrite it, which means that when it toggles "off" afterwards, it uses
invert on the freshly drawn background which will visually make it appear "on"
and not off

Just explictly turn it off and restore it and avoid the whole potential
problem.

Change-Id: Ie21d77e9d704124011e43b42c98b26eaf208eef2
2016-04-20 12:00:05 +01:00
Samuel Mehrbrodt
7a264c3bba XCheckBox: Add reference to where the parameters/return values are documented
Change-Id: I9d775397b7905a8b33c67069fd3eae2ddb810149
Reviewed-on: https://gerrit.libreoffice.org/24246
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-20 08:53:06 +00:00
Samuel Mehrbrodt
98f644c139 XListBox: Add hint about return value on empty selection
Change-Id: I92d324b9e0ff48f6a4b3d62d6e9d22bf6ec7561a
Reviewed-on: https://gerrit.libreoffice.org/24245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-20 08:52:50 +00:00
Szymon Kłos
ccaf108651 character spacing control possible to use outside sidebar
Change-Id: Ic0c6458268b529bd0107d6ed5a35f49241cfb833
Reviewed-on: https://gerrit.libreoffice.org/24146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-04-20 07:53:17 +00:00
Miklos Vajna
f7aa4344e4 libxmlsec: split the upstreamed part of xmlsec1-vc.patch.1 into a new patch
Change-Id: I1a6201a21cdf3a42475487a42cd80d11cd5e42b6
Reviewed-on: https://gerrit.libreoffice.org/24253
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-20 07:35:48 +00:00
Stephan Bergmann
6b7594a84e Use IsRightToLeft()
...instead of computing this from GetRightToLeftLevel()

Change-Id: If0068c8aae581b6f097ba3897b4a3031db8d9afd
2016-04-20 07:56:54 +02:00
Korrawit Pruegsanusak
97725c3a1f cleanup AS_HELP_STRING in configure.ac
Change-Id: Ie3492616ea885961933b812820bf65f6b051b868
Reviewed-on: https://gerrit.libreoffice.org/23375
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-20 05:48:53 +00:00
Julien Nabet
3dca8575d6 Prefer prefix ++/-- operators for non-primitive types
Change-Id: I83273c31a03cf79126e71d55b39211c18f8bfcd0
Reviewed-on: https://gerrit.libreoffice.org/24249
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-04-20 05:06:31 +00:00
Christian Lohmaier
f4827e1bba update credits
Change-Id: I52af3ba76cb6dbd8572eb524ce9d0c0bfb2c0596
2016-04-19 20:44:04 +02:00
Miklos Vajna
6819992113 tdf#99396 SvxTableController::SetVertical: implement undo support
All the table and cell objects know how to undo this change, what was
missing is the begin/end undo calls and the broadcast of the cell
format change.

Change-Id: I3dfd203faf5c579da2937fedab5647129a8e903a
Reviewed-on: https://gerrit.libreoffice.org/24247
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-19 17:14:17 +00:00
Dennis Francis
219d1f3385 tdf#99329 : By default show sum and average statusbar functions...
and correctly handle the non-default profiles from <= 5.1.*.

Change-Id: If230364a81774e43836956eb38fb8257ddf176b2
Reviewed-on: https://gerrit.libreoffice.org/24118
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Joel Madero <joel.madero@gmail.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-19 16:50:09 +00:00