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
634f1d11
Kaydet (Commit)
634f1d11
authored
Eyl 26, 2013
tarafından
László Németh
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#56392 fix hyph. of words with single punctuation marks
Change-Id: I0a24fb53c2ff48c26b1c97b9a4768c3a725cd686
üst
7f436c1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
breakiterator_unicode.cxx
i18npool/source/breakiterator/breakiterator_unicode.cxx
+2
-2
No files found.
i18npool/source/breakiterator/breakiterator_unicode.cxx
Dosyayı görüntüle @
634f1d11
...
...
@@ -383,10 +383,10 @@ LineBreakResults SAL_CALL BreakIterator_Unicode::getLineBreak(
Boundary
wBoundary
=
getWordBoundary
(
Text
,
nStartPosWordEnd
,
rLocale
,
WordType
::
DICTIONARY_WORD
,
false
);
nStartPosWordEnd
=
wBoundary
.
endPos
+
1
;
nStartPosWordEnd
=
wBoundary
.
endPos
;
while
(
nStartPosWordEnd
<
Text
.
getLength
()
&&
(
u_ispunct
((
sal_uInt32
)
Text
[
nStartPosWordEnd
])))
// ending punctuation
nStartPosWordEnd
++
;
nStartPosWordEnd
=
nStartPosWordEnd
-
wBoundary
.
endPos
-
1
;
nStartPosWordEnd
=
nStartPosWordEnd
-
wBoundary
.
endPos
;
if
(
hOptions
.
hyphenIndex
-
wBoundary
.
startPos
<
nStartPosWordEnd
)
nStartPosWordEnd
=
hOptions
.
hyphenIndex
-
wBoundary
.
startPos
;
#define SPACE 0x0020
while
(
boundary_with_punctuation
>
wBoundary
.
endPos
&&
Text
[
--
boundary_with_punctuation
]
==
SPACE
);
...
...
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