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
9869ab09
Kaydet (Commit)
9869ab09
authored
Agu 02, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_Int32
Change-Id: Id15b58374df59d03e344cea7f23ae6b5963f668a
üst
448d3334
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
combobox.cxx
vcl/source/control/combobox.cxx
+3
-3
No files found.
vcl/source/control/combobox.cxx
Dosyayı görüntüle @
9869ab09
...
...
@@ -1294,10 +1294,10 @@ void ComboBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, D
Rectangle
aClip
(
aPos
,
aSize
);
pDev
->
IntersectClipRegion
(
aClip
);
sal_
uInt16
nLines
=
(
sal_uInt16
)
(
(
nTextHeight
>
0
)
?
(
(
aSize
.
Height
()
-
nEditHeight
)
/
nTextHeight
)
:
1
);
sal_
Int32
nLines
=
static_cast
<
sal_Int32
>
(
nTextHeight
>
0
?
(
aSize
.
Height
()
-
nEditHeight
)
/
nTextHeight
:
1
);
if
(
!
nLines
)
nLines
=
1
;
sal_uInt16
nTEntry
=
IsReallyVisible
()
?
m_pImpl
->
m_pImplLB
->
GetTopEntry
()
:
0
;
const
sal_Int32
nTEntry
=
IsReallyVisible
()
?
m_pImpl
->
m_pImplLB
->
GetTopEntry
()
:
0
;
Rectangle
aTextRect
(
aPos
,
aSize
);
...
...
@@ -1307,7 +1307,7 @@ void ComboBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, D
aTextRect
.
Bottom
()
=
aTextRect
.
Top
()
+
nTextHeight
;
// the drawing starts here
for
(
sal_
uInt16
n
=
0
;
n
<
nLines
;
n
++
)
for
(
sal_
Int32
n
=
0
;
n
<
nLines
;
++
n
)
{
pDev
->
DrawText
(
aTextRect
,
m_pImpl
->
m_pImplLB
->
GetEntryList
()
->
GetEntryText
(
n
+
nTEntry
),
nTextStyle
);
aTextRect
.
Top
()
+=
nTextHeight
;
...
...
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