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
698ee302
Kaydet (Commit)
698ee302
authored
Agu 31, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to more proper types
Change-Id: I2ad19b46825650f448f921e2bbc1b71ec6314be8
üst
e510bd63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
txtdrop.cxx
sw/source/core/text/txtdrop.cxx
+3
-4
No files found.
sw/source/core/text/txtdrop.cxx
Dosyayı görüntüle @
698ee302
...
@@ -297,7 +297,7 @@ void SwDropPortion::PaintDrop( const SwTxtPaintInfo &rInf ) const
...
@@ -297,7 +297,7 @@ void SwDropPortion::PaintDrop( const SwTxtPaintInfo &rInf ) const
const
sal_uInt16
nOldWidth
=
Width
();
const
sal_uInt16
nOldWidth
=
Width
();
const
sal_uInt16
nOldAscent
=
GetAscent
();
const
sal_uInt16
nOldAscent
=
GetAscent
();
const
SwTwips
nOldPosY
=
rInf
.
Y
();
const
SwTwips
nOldPosY
=
rInf
.
Y
();
const
sal_uInt16
nOldPosX
=
(
sal_uInt16
)
rInf
.
X
();
const
SwTwips
nOldPosX
=
rInf
.
X
();
const
SwParaPortion
*
pPara
=
rInf
.
GetParaPortion
();
const
SwParaPortion
*
pPara
=
rInf
.
GetParaPortion
();
const
Point
aOutPos
(
nOldPosX
+
nX
,
nOldPosY
-
pPara
->
GetAscent
()
const
Point
aOutPos
(
nOldPosX
+
nX
,
nOldPosY
-
pPara
->
GetAscent
()
-
pPara
->
GetRealHeight
()
+
pPara
->
Height
()
);
-
pPara
->
GetRealHeight
()
+
pPara
->
Height
()
);
...
@@ -609,7 +609,7 @@ void SwTxtPainter::PaintDropPortion()
...
@@ -609,7 +609,7 @@ void SwTxtPainter::PaintDropPortion()
// MarginPortion und Adjustment!
// MarginPortion und Adjustment!
const
SwLinePortion
*
pPor
=
pCurr
->
GetFirstPortion
();
const
SwLinePortion
*
pPor
=
pCurr
->
GetFirstPortion
();
sal_uInt16
nX
=
0
;
long
nX
=
0
;
while
(
pPor
&&
!
pPor
->
IsDropPortion
()
)
while
(
pPor
&&
!
pPor
->
IsDropPortion
()
)
{
{
nX
=
nX
+
pPor
->
Width
();
nX
=
nX
+
pPor
->
Width
();
...
@@ -759,8 +759,7 @@ void SwDropCapCache::CalcFontSize( SwDropPortion* pDrop, SwTxtFormatInfo &rInf )
...
@@ -759,8 +759,7 @@ void SwDropCapCache::CalcFontSize( SwDropPortion* pDrop, SwTxtFormatInfo &rInf )
SwFont
&
rFnt
=
pCurrPart
->
GetFont
();
SwFont
&
rFnt
=
pCurrPart
->
GetFont
();
// Get height including proportion
// Get height including proportion
const
sal_uInt16
nCurrHeight
=
const
long
nCurrHeight
=
rFnt
.
GetHeight
(
rFnt
.
GetActual
()
);
(
sal_uInt16
)
rFnt
.
GetHeight
(
rFnt
.
GetActual
()
);
// Get without proportion
// Get without proportion
const
sal_uInt8
nOldProp
=
rFnt
.
GetPropr
();
const
sal_uInt8
nOldProp
=
rFnt
.
GetPropr
();
...
...
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