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
04ee8ea4
Kaydet (Commit)
04ee8ea4
authored
Agu 31, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unneeded local scope
Change-Id: I51fe6e130006fdca547abe99a44117f710d1e776
üst
c49faa14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
porfld.cxx
sw/source/core/text/porfld.cxx
+12
-15
No files found.
sw/source/core/text/porfld.cxx
Dosyayı görüntüle @
04ee8ea4
...
@@ -192,25 +192,22 @@ void SwFldPortion::CheckScript( const SwTxtSizeInfo &rInf )
...
@@ -192,25 +192,22 @@ void SwFldPortion::CheckScript( const SwTxtSizeInfo &rInf )
if
(
GetExpTxt
(
rInf
,
aTxt
)
&&
!
aTxt
.
isEmpty
()
&&
g_pBreakIt
->
GetBreakIter
().
is
()
)
if
(
GetExpTxt
(
rInf
,
aTxt
)
&&
!
aTxt
.
isEmpty
()
&&
g_pBreakIt
->
GetBreakIter
().
is
()
)
{
{
sal_uInt8
nActual
=
pFnt
?
pFnt
->
GetActual
()
:
rInf
.
GetFont
()
->
GetActual
();
sal_uInt8
nActual
=
pFnt
?
pFnt
->
GetActual
()
:
rInf
.
GetFont
()
->
GetActual
();
sal_uInt16
nScript
;
sal_uInt16
nScript
=
g_pBreakIt
->
GetBreakIter
()
->
getScriptType
(
aTxt
,
0
);
sal_Int32
nChg
=
0
;
if
(
i18n
::
ScriptType
::
WEAK
==
nScript
)
{
{
nScript
=
g_pBreakIt
->
GetBreakIter
()
->
getScriptType
(
aTxt
,
0
);
nChg
=
g_pBreakIt
->
GetBreakIter
()
->
endOfScript
(
aTxt
,
0
,
nScript
);
sal_Int32
nChg
=
0
;
if
(
nChg
<
aTxt
.
getLength
()
&&
nChg
>=
0
)
if
(
i18n
::
ScriptType
::
WEAK
==
nScript
)
nScript
=
g_pBreakIt
->
GetBreakIter
()
->
getScriptType
(
aTxt
,
nChg
);
{
}
nChg
=
g_pBreakIt
->
GetBreakIter
()
->
endOfScript
(
aTxt
,
0
,
nScript
);
if
(
nChg
<
aTxt
.
getLength
()
&&
nChg
>=
0
)
nScript
=
g_pBreakIt
->
GetBreakIter
()
->
getScriptType
(
aTxt
,
nChg
);
}
// nNextScriptChg will be evaluated during SwFldPortion::Format()
// nNextScriptChg will be evaluated during SwFldPortion::Format()
if
(
nChg
<
aTxt
.
getLength
()
&&
nChg
>=
0
)
if
(
nChg
<
aTxt
.
getLength
()
&&
nChg
>=
0
)
nNextScriptChg
=
g_pBreakIt
->
GetBreakIter
()
->
endOfScript
(
aTxt
,
nChg
,
nScript
);
nNextScriptChg
=
g_pBreakIt
->
GetBreakIter
()
->
endOfScript
(
aTxt
,
nChg
,
nScript
);
else
else
nNextScriptChg
=
aTxt
.
getLength
();
nNextScriptChg
=
aTxt
.
getLength
();
}
sal_uInt8
nTmp
;
sal_uInt8
nTmp
;
switch
(
nScript
)
{
switch
(
nScript
)
{
case
i18n
:
:
ScriptType
::
LATIN
:
nTmp
=
SW_LATIN
;
break
;
case
i18n
:
:
ScriptType
::
LATIN
:
nTmp
=
SW_LATIN
;
break
;
...
...
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