022e351c24
fdo#77603 new wildcard in autocorrection: .* instead of *
...
Change-Id: I04700e742239c97de39cf502fd8b0845b03c4e3a
2014-04-21 12:46:02 +02:00
f86ec3beba
clean up src files
...
Change-Id: Icc01c860871cd15ed4a8e261c770b44ae88aa89e
2014-04-21 09:30:22 +02:00
596173781e
cpplint: [readability/utf8] Line contains invalid UTF-8 + remove dup
...
Change-Id: I2bd9c7d4824ac1b216256ef56a4301873afcfc5d
2014-04-20 23:21:16 +02:00
618a0f8c03
whitespace for include statements
...
Change-Id: I76bd0ef07a2fa134e948724cecdf539ffe6ccb8a
2014-04-15 13:43:13 +02:00
3edb4611b2
editeng: sal_Bool->bool
...
Change-Id: I71ea2f0e48a6252832180872945b96a120f21907
2014-04-15 09:02:32 +02:00
b4fd20fc6b
Clean up function declarations and some unused functions
...
Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
2014-04-09 14:42: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
6ac6fb820f
xmloff: sal_Bool->bool
...
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
2014-03-31 12:39:02 +02:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
96710f8e46
convert OUString::match to OUString::endsWith
...
Convert code like:
rTxt.match( "---", rTxt.getLength()-3 )
to:
rTxt.endsWith( "---" )
Change-Id: Iada74c5e714f7234f25b326526843a36255d5599
2014-03-19 08:55:21 +02:00
ded5965ce8
editeng: sal_Bool->bool
...
Change-Id: I51b4ae54c2c440d38879439f74d4fea39d243004
2014-03-03 08:59:38 +02:00
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
2c4621c87e
editeng: sal_Bool->bool
...
Change-Id: I659497b79fe809865639429f2744d815f2a1f3e2
2014-02-27 12:30:29 +02:00
fdf284276f
editeng: sal_Bool->bool
...
Change-Id: Ice3b0a4ccf7a6d25311ff65a23efa9082cd501de
2014-02-27 12:30:29 +02:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +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
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