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
59239c29
Kaydet (Commit)
59239c29
authored
Ock 26, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use += when possible
Change-Id: I6dad55d3a397becab18f1159f3e8d84cffd7517b
üst
6a9b0aac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
porlay.cxx
sw/source/core/text/porlay.cxx
+4
-4
No files found.
sw/source/core/text/porlay.cxx
Dosyayı görüntüle @
59239c29
...
...
@@ -352,7 +352,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
}
const
sal_Int32
nPorSttIdx
=
rInf
.
GetLineStart
()
+
nLineLength
;
nLineLength
=
nLineLength
+
pPos
->
GetLen
();
nLineLength
+=
pPos
->
GetLen
();
AddPrtWidth
(
pPos
->
Width
()
);
// #i3952#
...
...
@@ -1629,7 +1629,7 @@ long SwScriptInfo::Compress( sal_Int32* pKernArray, sal_Int32 nIdx, sal_Int32 nL
sal_Int32
nChg
=
GetCompStart
(
nCompIdx
);
sal_Int32
nCompLen
=
GetCompLen
(
nCompIdx
);
sal_uInt16
nI
=
0
;
nLen
=
nLen
+
nIdx
;
nLen
+=
nIdx
;
if
(
nChg
>
nIdx
)
{
...
...
@@ -1650,7 +1650,7 @@ long SwScriptInfo::Compress( sal_Int32* pKernArray, sal_Int32 nIdx, sal_Int32 nL
#ifdef DBG_UTIL
SAL_WARN_IF
(
nType
!=
CompType
(
nIdx
),
"sw.core"
,
"Gimme the right type!"
);
#endif
nCompLen
=
nCompLen
+
nIdx
;
nCompLen
+=
nIdx
;
if
(
nCompLen
>
nLen
)
nCompLen
=
nLen
;
...
...
@@ -2093,7 +2093,7 @@ sal_Int32 SwParaPortion::GetParLen() const
const
SwLineLayout
*
pLay
=
this
;
while
(
pLay
)
{
nLen
=
nLen
+
pLay
->
GetLen
();
nLen
+=
pLay
->
GetLen
();
pLay
=
pLay
->
GetNext
();
}
return
nLen
;
...
...
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