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
7ea77288
Kaydet (Commit)
7ea77288
authored
Agu 31, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use arithmetic instead of while loop
Change-Id: I35738f09ec562815f74643a547505efb6d9a0bfe
üst
bbf64c78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
itrform2.cxx
sw/source/core/text/itrform2.cxx
+2
-4
No files found.
sw/source/core/text/itrform2.cxx
Dosyayı görüntüle @
7ea77288
...
@@ -1699,10 +1699,8 @@ void SwTxtFormatter::CalcRealHeight( bool bNewLine )
...
@@ -1699,10 +1699,8 @@ void SwTxtFormatter::CalcRealHeight( bool bNewLine )
const
bool
bRubyTop
=
!
pGrid
->
GetRubyTextBelow
();
const
bool
bRubyTop
=
!
pGrid
->
GetRubyTextBelow
();
nLineHeight
=
nGridWidth
+
nRubyHeight
;
nLineHeight
=
nGridWidth
+
nRubyHeight
;
const
sal_uInt16
nLineDist
=
nLineHeight
;
const
sal_uInt16
nAmpRatio
=
(
pCurr
->
Height
()
+
nLineHeight
-
1
)
/
nLineHeight
;
nLineHeight
*=
nAmpRatio
;
while
(
pCurr
->
Height
()
>
nLineHeight
)
nLineHeight
=
nLineHeight
+
nLineDist
;
const
sal_uInt16
nAsc
=
pCurr
->
GetAscent
()
+
const
sal_uInt16
nAsc
=
pCurr
->
GetAscent
()
+
(
bRubyTop
?
(
bRubyTop
?
...
...
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