Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
10176b1b
Kaydet (Commit)
10176b1b
authored
Agu 31, 2014
tarafından
László Németh
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#33899 autocorrect: don't replace date parts with fractions
Change-Id: I1470d1f3e7b8613c49a4998f3ff106ca5abeff65
üst
790920be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
svxacorr.cxx
editeng/source/misc/svxacorr.cxx
+6
-1
No files found.
editeng/source/misc/svxacorr.cxx
Dosyayı görüntüle @
10176b1b
...
@@ -2788,7 +2788,12 @@ const SvxAutocorrWord* SvxAutocorrWordList::WordMatches(const SvxAutocorrWord *p
...
@@ -2788,7 +2788,12 @@ const SvxAutocorrWord* SvxAutocorrWordList::WordMatches(const SvxAutocorrWord *p
if
(
(
!
left_wildcard
&&
rCmp
.
isEqual
(
rChk
,
sWord
))
||
(
left_wildcard
&&
rCmp
.
isEqual
(
rChk
.
copy
(
left_wildcard
),
sWord
)
))
if
(
(
!
left_wildcard
&&
rCmp
.
isEqual
(
rChk
,
sWord
))
||
(
left_wildcard
&&
rCmp
.
isEqual
(
rChk
.
copy
(
left_wildcard
),
sWord
)
))
{
{
rStt
=
nCalcStt
;
rStt
=
nCalcStt
;
if
(
!
left_wildcard
)
return
pFnd
;
if
(
!
left_wildcard
)
{
// fdo#33899 avoid "1/2", "1/3".. to be replaced by fractions in dates, eg. 1/2/14
if
(
rTxt
[
nEndPos
]
==
'/'
&&
rChk
.
indexOf
(
'/'
)
!=
-
1
)
return
NULL
;
return
pFnd
;
}
// get the first word delimiter position before the matching ".*word" pattern
// get the first word delimiter position before the matching ".*word" pattern
while
(
rStt
&&
!
(
bWasWordDelim
=
IsWordDelim
(
rTxt
[
--
rStt
])))
while
(
rStt
&&
!
(
bWasWordDelim
=
IsWordDelim
(
rTxt
[
--
rStt
])))
;
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment