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
34ea372c
Kaydet (Commit)
34ea372c
authored
May 24, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide: convert SwFieldPortion::CheckScript()
Change-Id: I85dd0a194e0a406c4a2af51676c996fcfc558961
üst
34024335
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
porfld.cxx
sw/source/core/text/porfld.cxx
+4
-3
No files found.
sw/source/core/text/porfld.cxx
Dosyayı görüntüle @
34ea372c
...
...
@@ -211,9 +211,10 @@ void SwFieldPortion::CheckScript( const SwTextSizeInfo &rInf )
// nNextScriptChg will be evaluated during SwFieldPortion::Format()
if
(
nChg
<
aText
.
getLength
()
&&
nChg
>=
0
)
m_nNextScriptChg
=
g_pBreakIt
->
GetBreakIter
()
->
endOfScript
(
aText
,
nChg
,
nScript
);
m_nNextScriptChg
=
TextFrameIndex
(
g_pBreakIt
->
GetBreakIter
()
->
endOfScript
(
aText
,
nChg
,
nScript
));
else
m_nNextScriptChg
=
aText
.
getLength
(
);
m_nNextScriptChg
=
TextFrameIndex
(
aText
.
getLength
()
);
SwFontScript
nTmp
;
switch
(
nScript
)
{
...
...
@@ -238,7 +239,7 @@ void SwFieldPortion::CheckScript( const SwTextSizeInfo &rInf )
UBiDiLevel
nCurrDir
;
ubidi_getLogicalRun
(
pBidi
,
0
,
&
nEnd
,
&
nCurrDir
);
ubidi_close
(
pBidi
);
const
sal_Int32
nNextDirChg
=
nEnd
;
const
TextFrameIndex
nNextDirChg
(
nEnd
)
;
m_nNextScriptChg
=
std
::
min
(
m_nNextScriptChg
,
nNextDirChg
);
// #i89825# change the script type also to CTL
...
...
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