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
db0222881b
editeng: sal_Bool->bool
...
Change-Id: Ie2c8bf805461d61de2dfa2658160fd612959932c
2014-02-21 12:19:25 +02:00
87612bfee4
sal_Bool->bool
...
Change-Id: If8d90d507e29caaf8ceb41deb9cb5eb54476773e
2014-02-21 12:19:20 +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
d548b250db
Drop unnecessary #include
...
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-18 13:24:11 +09:00
ebd0d0056d
fdo#74363: fix auto correct of initial capitals on start of first para
...
The GetPrevPara() method apparently has to return 0 when there is no
previous paragraph.
(regression from ac85b6cff11d193f5f71d11b1f3cc1c474653f59)
Change-Id: I09a3e1d3a3adb33562e4e03c0755447047cbd433
2014-02-08 00:32:20 +01:00
0f2a8ec5e0
coverity#707765 Uninitialized scalar field
...
Change-Id: I35194385cc2f5d02a93ade0e8ab40fb77eba7e6e
2014-02-05 16:36:16 -06:00
bb688f72cc
coverity#707764 Uninitialized scalar field
...
Change-Id: Ibbd13e15b6aca33a8c9050dd0d9f210e64e85e3e
2014-02-05 16:36:16 -06:00
5c5d31b04c
coverity#707761-62 Uninitialized scalar field
...
Change-Id: I9ebd8df6e510640e511a61332ab1d712b68c40ca
2014-02-05 16:36:16 -06:00
097e67c758
coverity#1019409 : Uninitialized scalar field
...
Change-Id: I54c360fbdb2d7eed786ff7e7566d6ebe12ed833c
2014-01-28 23:00:32 -06:00
6bdd60462f
bool improvements
...
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
2014-01-28 20:24:39 +01:00
d762c15417
low hanging xub_StrLen->sal_Int32 in editeng
...
Change-Id: I8d9a504a1e7d320b487ee499b5bc0c04b52632e7
2014-01-16 10:53:05 +00:00
2e5ec4f5b6
Related: #i17171# big xub_Strlen -> sal_Int32 changes
...
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
2014-01-15 13:26:08 +00:00
5ea58f534b
bool improvements
...
Change-Id: Ic6488ac278cac2d1d7e240abff545f9ea0b8eafe
2014-01-14 21:28:08 +01:00
d24134b6a2
This shall likely comp. m_eCurrentConversionDirection to HHC::eHangulToHanja
...
Change-Id: Ib4eba9f6386214d010c880ad15bcacce7665a3af
2014-01-14 21:28:08 +01:00
6e12fb3be3
Consolidate XServiceInfo for classes derived from SvXMLImport
...
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
2014-01-09 10:12:19 +01:00
31911b3cdc
Consolidate XServiceInfo for classes derived from SvXMLExport
...
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-08 14:11:58 +01:00
c23ab5eaed
Integrate branch of IAccessible2
...
WaE: Reorder initializations to prevent compiler warnings.
(cherry picked from commit c05431aa92fa2c7c7258418a6ecd651b5c26d982)
WaE: unname unused variable to prevent compiler warnings.
(cherry picked from commit 2259256a390c4b6f83cfb5dbe4a65df5032aee47)
Conflicts:
editeng/source/accessibility/AccessibleEditableTextPara.cxx
ad61537527a74670af266feb9e4d26d2d654daf7
66044902b8d94fc15d4c30270e6cc419fb7d3565
Change-Id: I3ec9798f2c7d854824722c0cf44b62128b4f4cb4
2013-11-26 15:27:17 +00:00
7a32f528fe
fdo#67742 Avoid autocorr of "--" before "-"
...
LibO 4.1 now uses '-' as word separator for AutoCorrection
Then the sequence "---" is detected as word "--" and autocorrect
as "–". This avoids autocorrection of "---", as word or as border
This commit detects the sequence "---" and report autocorrection.
Change-Id: I1342c2ff83dd42683e683b3bb27280d61179b9a2
Reviewed-on: https://gerrit.libreoffice.org/6727
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-11-20 04:42:46 -06:00
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
cc7deac705
longparas: same variable used for two different loops of different types
...
Change-Id: I1efdeb3f9bbda47d8f465a04fb36164e7ffc347b
2013-11-08 17:18:31 +00:00
ea4fd6d5ca
n is immediately overwritten
...
Change-Id: I51c511efcfaf2d97cefa42abea1d3e42c023fbbd
2013-11-08 17:18:30 +00:00
296329a926
convert xub_StrLen to sal_Int32
...
convert for loops using xub_StrLen to use sal_Int32
Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-06 08:51:22 +02:00
a6dc113734
convert xub_StrLen to sal_Int32
...
Convert code like:
xub_StrLen nLen = aStr.getLength();
into
sal_Int32 nLen = aStr.getLength();
Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
2013-11-05 15:15:30 +02:00
938881340e
fdo#69762 Scientific number AutoCorrect as ordinal
...
In French, ordinal number autocorrection transforms
2e-3 in 2^e-3 which is annoying in Calc.
This patch avoids autocorrection with [digit][e|E]-
Change-Id: Iaaff4f8d6e667fc84a68d7c11e1a96da13594a18
Reviewed-on: https://gerrit.libreoffice.org/6204
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-03 09:43:43 -06:00
9c57cb0a6c
fixincludeguards.sh: editeng
...
Change-Id: I022e690c1f50f7f5ae872889e21aaedb5c60085d
2013-10-28 15:16:20 +01:00
7eb42bddb3
windows: warning 4706 is disabled globally in com_MSC_defs.mk
...
So there is no need to do this locally, too.
Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
2013-10-28 01:08:27 +01:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
45e366eadb
drop unnecessary tools/string includes
...
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-20 19:00:36 +01:00
16be3d0737
CID#1103765 missing initialization
...
Change-Id: I2c3781b30054662c21e4c1fa984e36c3898c5c3d
2013-10-11 09:02:57 +01:00
35607cbcee
bWeiter -> bContinue
...
Change-Id: Ia0bba3c1610dce5d364fb584f04e0b66cc41fb20
Reviewed-on: https://gerrit.libreoffice.org/6077
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-10-02 15:14:09 +00:00
e1f6731187
-Werror,-Wunused-const-variable
...
Change-Id: I8e382aaa44144693d99c0442942e25f3b5a9b297
2013-10-02 16:49:34 +02:00
9c15d1ad18
in editeng module, convert remains of String to OUString
...
Change-Id: I634e1fc2b63461d94a9e7d27c809d559740da7c0
2013-10-01 10:08:37 +02:00
fd8f8bdaad
convert last bits of include/editeng/svxacorr.hxx from String to OUString
...
now that Caolon has fixed the bugs in the auto-correct
Change-Id: I06c31c22974fd23c6e6c14f1b3d0b6411712753f
2013-10-01 10:08:36 +02:00
64b720dce8
Related: fdo#38838 remove UniString::SearchAscii
...
Change-Id: Icb7850aaabe59f96ea26a665a8d25617b2741d68
2013-09-30 11:04:22 +01:00
b3a8056a49
Related: fdo#38838 remove UniString::SearchBackward
...
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-27 11:16:11 +02:00
2f4d7eacab
fdo#54686 Treat hard blank as soft blank in number
...
AutoCorrect option "Add non-breaking space in French..." insert
non-breaking space (hard blank) and avoid recognition of percent
number and time number. This patch treats hard blanks as soft blank
in number format recognition
Rev.#1: change #define to const variable. Same change in svxaccor
Rev.#2: improvements
Change-Id: I30c2c36778cb53a0238a0829043dad4d709f97d2
Reviewed-on: https://gerrit.libreoffice.org/6015
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-09-23 20:34:46 +00:00
a641bbff59
map autocorrection files with LanguageTag key
...
... as several tags (i.e. renamed) may map to the same LangID.
Change-Id: I8202b18ea0dc8034522017be59bb104b3d06c0f4
2013-09-21 15:30:00 +02:00
163975fd41
convert SvxAutoCorrect::DoAutoCorrect to OUString
...
which makes autocorrect in the editengine work again
Change-Id: I97d56448e4abd6e563479ffee706b86cb04199ec
2013-09-18 15:06:21 +01:00
5b6dcac8dc
comparision of STRING_NOTFOUND to OUString::indexOf
...
Change-Id: I5ad12b594143a3e9ab2399836d30e48deb656639
2013-09-18 15:06:20 +01:00
9bb1b4c5a1
don't access string out of bounds
...
Change-Id: I1cee53bc864efaa4ae3b4462111cad4dc80e82be
2013-09-18 15:06:20 +01:00
98214397cd
don't access string out of bounds
...
Change-Id: I304b74270f73b9f94568edf2613e2581459cc4f9
2013-09-17 14:47:09 +01:00
7fff7c6aab
unfold this god-awful mess, logic unchanged
...
Change-Id: Ib76617e3c500268dfe423b9947100f6ce7f0eaec
2013-09-17 14:47:08 +01:00
90830788b1
convert the SvxAutoCorrect::FindIn* methods from String to OUString
...
Change-Id: Ida2f39b75f73137a4164d95d7f1e9a6cd34a322f
2013-09-17 09:06:12 +02:00
cb4e009c45
convert GetText/PutText in SvxAutoCorrect from String to OUString
...
Change-Id: Id3d2122d949a7ae940e908ee7c82e6f105b68f40
2013-09-17 09:06:08 +02:00
d63c3f0cf8
convert some more methods in SvxAutoCorrect to OUString
...
Change-Id: I843784dbc63501cd533c19f7ed5151fbe8e48d83
2013-09-17 09:06:04 +02:00
8b6f54fe37
convert fields in SvxAutoCorrect from String to OUString
...
Change-Id: I2b62c782ad538fe12fb3104bcb687c26291e3a0b
2013-09-17 09:06:01 +02:00
d559f1693a
convert the auto-correction methods in SvxAutoCorrect to OUString
...
Change-Id: I725d59ad2a4ac7b372cad4d599af1554c4c4b463
2013-09-17 09:05:57 +02:00
8b3cbc7115
Related: fdo#38838 remove UniString::ToLowerAscii
...
Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
2013-09-13 15:24:45 +01:00