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
ca4e6cad
Kaydet (Commit)
ca4e6cad
authored
Tem 09, 2014
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify loop
Change-Id: I26c1456ca805c6f3ecfa5bd4876e7ae345f087e7
üst
8817e5e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
fntctrl.cxx
svx/source/dialog/fntctrl.cxx
+5
-8
No files found.
svx/source/dialog/fntctrl.cxx
Dosyayı görüntüle @
ca4e6cad
...
...
@@ -246,11 +246,13 @@ void FontPrevWin_Impl::CheckScript()
Reference
<
XComponentContext
>
xContext
=
::
comphelper
::
getProcessComponentContext
();
xBreak
=
BreakIterator
::
create
(
xContext
);
}
sal_uInt16
nScript
=
xBreak
->
getScriptType
(
aText
,
0
);
sal_uInt16
nScript
=
0
;
sal_Int32
nChg
=
0
;
do
while
(
nChg
<
aText
.
getLength
()
)
{
nScript
=
xBreak
->
getScriptType
(
aText
,
nChg
);
nChg
=
xBreak
->
endOfScript
(
aText
,
nChg
,
nScript
);
if
(
nChg
<
aText
.
getLength
()
&&
nChg
>
0
&&
(
com
::
sun
::
star
::
i18n
::
ScriptType
::
WEAK
==
...
...
@@ -273,12 +275,7 @@ void FontPrevWin_Impl::CheckScript()
}
aScriptType
.
push_back
(
nScript
);
aTextWidth
.
push_back
(
0
);
if
(
nChg
<
aText
.
getLength
()
)
nScript
=
xBreak
->
getScriptType
(
aText
,
nChg
);
else
break
;
}
while
(
true
);
}
}
/*
...
...
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