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
268ec2e6
Kaydet (Commit)
268ec2e6
authored
May 01, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: fdo#49208 crazy to create the string *twice*
Change-Id: Ib31919672d0754fa4f650dcb32dc2c59a410b54c
üst
44d470c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
breakiterator_unicode.cxx
i18npool/source/breakiterator/breakiterator_unicode.cxx
+5
-3
No files found.
i18npool/source/breakiterator/breakiterator_unicode.cxx
Dosyayı görüntüle @
268ec2e6
...
...
@@ -199,13 +199,15 @@ void SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star::
}
}
if
(
newBreak
||
icuBI
->
aICUText
.
compare
(
UnicodeString
(
reinterpret_cast
<
const
UChar
*>
(
rText
.
getStr
()),
rText
.
getLength
())))
{
// UChar != sal_Unicode in MinGW
icuBI
->
aICUText
=
UnicodeString
(
reinterpret_cast
<
const
UChar
*>
(
rText
.
getStr
()),
rText
.
getLength
());
// UChar != sal_Unicode in MinGW
const
UChar
*
pText
=
reinterpret_cast
<
const
UChar
*>
(
rText
.
getStr
());
if
(
newBreak
||
icuBI
->
aICUText
.
compare
(
pText
,
rText
.
getLength
()))
{
icuBI
->
aICUText
=
UnicodeString
(
pText
,
rText
.
getLength
());
icuBI
->
aBreakIterator
->
setText
(
icuBI
->
aICUText
);
}
}
sal_Int32
SAL_CALL
BreakIterator_Unicode
::
nextCharacters
(
const
OUString
&
Text
,
sal_Int32
nStartPos
,
const
lang
::
Locale
&
rLocale
,
sal_Int16
nCharacterIteratorMode
,
sal_Int32
nCount
,
sal_Int32
&
nDone
)
...
...
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