Commit Graph

316 Commits

Author SHA1 Message Date
710178094d Remove visual noise from editeng
Change-Id: Id7582119a5628cb7f54347678580ce7e47f6d703
Reviewed-on: https://gerrit.libreoffice.org/8255
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 07:26:53 -06:00
015b80e852 editeng: sal_Bool->bool
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978
2014-02-27 12:30:30 +02:00
c521f07208 editeng: sal_Bool->bool
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27 12:30:30 +02:00
27842247e5 editeng: sal_Bool->bool
Change-Id: Iede0a8ea3e28d1a77069e61c5a9b9d5bccc69adb
2014-02-27 12:30:28 +02:00
2a4a74a499 editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
2014-02-27 12:30:28 +02:00
ab49749dfc editeng: sal_Bool->bool
Change-Id: Ibce9442e46dffbfb21873bb64fbc851ad761b4dc
2014-02-27 12:30:28 +02:00
b8eaa2b782 editeng: sal_Bool->bool
Change-Id: Ic4dec17e879e6e16c7d6c5e184288a629872ce84
2014-02-27 12:30:27 +02:00
a4850e3d78 editeng: sal_Bool->bool
Change-Id: I977aa9d3cf18da00c69bfd777b51299613e01d1d
2014-02-27 12:30:26 +02:00
bc7525a9a4 editeng: sal_Bool->bool
Change-Id: I1c1d16e5b9690a5f61a04ed78d6e4be296800ebb
2014-02-27 12:30:26 +02:00
127f62ccbd editeng: sal_Bool->bool
Change-Id: Id309a574831dd46bce47009eb8c4879d26c3a332
2014-02-27 12:30:25 +02:00
ef16d954c2 editeng: sal_Bool->bool
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-27 12:30:25 +02:00
fd1a348915 editeng: sal_Bool->bool
Change-Id: I12db4b88beeeabf3840116753a3c388b214428ed
2014-02-27 12:30:25 +02:00
bbe5d32dda editeng: sal_Bool->bool
Change-Id: If5b8269b35983e564f1002f6ed25ca607381eea7
2014-02-27 12:30:24 +02:00
46888b6f8d editeng: sal_Bool->bool
Change-Id: I87dbcb590484c6142c2ce33d57eed846998aac36
2014-02-27 12:30:24 +02:00
a18e08ba48 editeng: sal_Bool->bool
Change-Id: I63bef7bcd7e20c6f667058f4be6d305c7f447b22
2014-02-27 12:30:24 +02:00
356f47752d editeng: harmonized types related to Tell()/Seek()
Change-Id: If0484da58011abae23ad19cbc3b9cf7e2e654b4c
Reviewed-on: https://gerrit.libreoffice.org/8216
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-25 04:41:07 +00:00
83aa6d8180 Remove some temporaries around calls to SvNumberFormatter methods
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24 09:08:35 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
63a4219e69 editeng: sal_Bool->bool
Change-Id: I1a4b8ff5ccecc2776d1f145f8763f3dab6afb38b
2014-02-21 12:19:25 +02:00
a32ed92c95 editeng: sal_Bool->bool
Change-Id: I64cde75157fbdcda6ac92ca4064e6ab8197114c1
2014-02-21 12:19:24 +02:00
72c64c7691 editeng: sal_Bool->bool
Change-Id: I18717328ccd37649683b0d8cb57c85629cdcb4d9
2014-02-21 12:19:23 +02:00
5a5a80dd5c editeng: sal_Bool->bool
Change-Id: I92935238ff016dc441db72e3aadc28466fe84e68
2014-02-21 12:19:23 +02:00
32ef676504 editeng: sal_Bool->bool
Change-Id: I1b215ef78bcade675a2f80def0d6d5afe0ff3d2c
2014-02-21 12:19:23 +02:00
16c8fbfa07 editeng: sal_Bool->bool
Change-Id: I5f0b49b7a51f32fe4974739d2610204adefc4faa
2014-02-21 12:19:22 +02:00
e41ed900a4 sal_Bool->bool
Change-Id: I2849ab93619a0a8c9d28b3c43d370ee483820678
2014-02-21 12:19:22 +02:00
327dde336e editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
2014-02-21 12:19:21 +02:00
a1d5ff63db sal_Bool->bool
Change-Id: I0c2297ffa00ee23160f65b2859043fcd4842098c
2014-02-21 12:19:21 +02:00
8be2cbc856 sal_Bool->bool
Change-Id: I8623ebe2d46cb897d4dd0c0ec9c136d96af0186c
2014-02-21 12:19:19 +02:00
4692d28e90 sal_Bool->bool
Change-Id: I83a9267cc461c2921b5da04a1122539ba0ac7d2d
2014-02-21 12:19:19 +02:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
192623b391 coverity#984086 Uninitialized scalar field
Change-Id: Ifa94f76edbbede207abd1974c9add4fdf740eecf
2014-02-18 15:18:07 +00:00
d9809c68f6 fdo#74141 :In <w:ind> Right margin gets added even if not present in orig doc.
There was a problem that in style.xml and document.xml in <w:ind> tag "right" & "left" margin
attributes gets added(w:right=0 & w:left=0),if these attributes are not set in original document.
(In this case LO should not write these attributes in <w:ind>)

eg. if original doc has implicit right and left indentation values set(In style.xml) and there is no
explicit values provided for some para (In document.xml) still it used to write w:right=0 and w:left=0
in <w:ind> tag of document.xml which overrides an entry from style.xml.

XML difference :
- Original file:
<w:ind w:left="567" />
- Roundtrip file Before Fix:
<w:ind w:left="567" w:right="0" w:hanging="0"/>
- Roundtrip file After Fix:
<w:ind w:left="567" w:hanging="0"/>

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7816

Change-Id: Ifa01bae24d48bb38d5e255356247c46a43beefcc
2014-02-13 17:43:47 +01:00
15535e32dd convert SvStream::operator>> methods to ReadXXX methods
First, I updated the clang rewriter to do the conversion.
Then I lightly hand-tweaked the output for the few places where
the rewriter messed up, mostly when dealing with calls on "this".

Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9
Reviewed-on: https://gerrit.libreoffice.org/7879
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 15:31:40 +00:00
257c82d924 cid#982633 missing break in switch
Change-Id: I20a5a0bd859b0df40a051dbb1894a9d8adfa521d
2014-02-12 10:06:07 +02:00
c60e1800d6 cid#982362 missing break in switch
Change-Id: I132527f5e403721988ae8e1d60f181f3d3241810
2014-02-12 10:06:07 +02:00
5523ed4b35 coverity#707757 Uninitialized scalar field
Change-Id: I3956259474b100d0d14d500f9528b04125e0d169
2014-02-05 16:36:15 -06:00
ffc7f28606 coverity#707756 Uninitialized scalar field
Change-Id: I9985284e852ddc3b29d75cdf0b8969c2a8cecb9a
2014-02-05 16:36:15 -06:00
186b4ebc99 convert specialised SvStream::operator>> methods to ReadXXX methods
as preparation for converting the SvStream::operator>> methods on
primitive types

Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9
Reviewed-on: https://gerrit.libreoffice.org/7798
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-04 22:50:39 +00:00
6bdd60462f bool improvements
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
2014-01-28 20:24:39 +01:00
98bb12e112 Apparently missing "nPos <"
Change-Id: Id334f044d475de7ef14503e1a45190a0021d58be
2014-01-28 20:24:36 +01:00
a3f32769fc Fix bogus mass-conversion equalsAsciiL -> startsWith
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to
startsWith calls" should rather have converted to oprator ==.

Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-21 15:54:52 +01:00
d33b4c311e Related: #i56998# use locale rules to format percentage
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
2014-01-20 14:46:21 +00:00
ab50bc9d4a Resolves: #i56998# add a space separater between value and unit...
and remove separator between value and percent to match with ISO 31-0

(cherry picked from commit 0cea884e3f417e4b58d2fdcfc7b0111f3bfc6f30)

Conflicts:
	chart2/source/controller/dialogs/tp_SeriesToAxis.src
	cui/source/dialogs/colorpicker.cxx
	cui/source/dialogs/colorpicker.src
	cui/source/dialogs/grfflt.src
	cui/source/dialogs/zoom.src
	cui/source/tabpages/tabline.src
	editeng/source/items/frmitems.cxx
	editeng/source/items/textitem.cxx
	sd/source/ui/animations/CustomAnimationDialog.src
	sd/source/ui/animations/SlideTransitionPane.src
	svx/source/dialog/bmpmask.src
	svx/source/engine3d/float3d.src
	svx/source/items/algitem.cxx
	svx/source/sidebar/text/TextCharacterSpacingControl.cxx
	svx/source/xoutdev/xattr.cxx
	sw/source/ui/utlui/attrdesc.cxx
	sw/source/ui/utlui/uiitems.cxx

Change-Id: I554309cb72dd8956077c5ca6866a982cdd6529aa
2014-01-20 12:08:54 +00:00
c648d08720 convert SvStream::operator<< overloads to more explicit methods
This is in preparation for more conversion of SvStream::operator<< calls
to use more explicit method names.
This converts the subclasses that have their own convenience overloads
of operator<< to use normal methods.

Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-16 16:08:34 +01:00
5ea58f534b bool improvements
Change-Id: Ic6488ac278cac2d1d7e240abff545f9ea0b8eafe
2014-01-14 21:28:08 +01:00
92ba7bd75b xub_StrLen->sal_Int32
Change-Id: I9c4d9b8d18b36dda6609b1976cae13a481943563
2014-01-14 09:33:09 +00:00
563ba069b5 longparas: nPartLen always is USHRT_MAX/STRING_LEN to take full string
Change-Id: I55bb0baa8e83948c470ade2fc6fabccb69dea91d
2014-01-14 09:33:09 +00:00
d4dd5c34db longparas: convert ValidateKashidas to sal_Int32
we can use -1 as the failure return code as return value is always checked and
isolated from the rest of the code.

Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-13 20:35:21 +00:00