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
baca9020
Kaydet (Commit)
baca9020
authored
Nis 16, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More protection for SvTreeListBox.
Change-Id: I55731cd69aa12f5709e300759f556e29e8ceff5d
üst
3e710c27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
treelistbox.cxx
svtools/source/contnr/treelistbox.cxx
+5
-3
No files found.
svtools/source/contnr/treelistbox.cxx
Dosyayı görüntüle @
baca9020
...
@@ -2219,10 +2219,10 @@ void SvTreeListBox::GetFocus()
...
@@ -2219,10 +2219,10 @@ void SvTreeListBox::GetFocus()
void
SvTreeListBox
::
LoseFocus
()
void
SvTreeListBox
::
LoseFocus
()
{
{
//If there is no item in the tree, delete visual focus.
//
If there is no item in the tree, delete visual focus.
if
(
!
First
()
)
if
(
!
First
()
)
Invalidate
();
Invalidate
();
if
(
pImp
)
if
(
pImp
)
pImp
->
LoseFocus
();
pImp
->
LoseFocus
();
Control
::
LoseFocus
();
Control
::
LoseFocus
();
}
}
...
@@ -3514,6 +3514,8 @@ void SvTreeListBox::NotifyScrolled()
...
@@ -3514,6 +3514,8 @@ void SvTreeListBox::NotifyScrolled()
void
SvTreeListBox
::
Invalidate
(
sal_uInt16
nInvalidateFlags
)
void
SvTreeListBox
::
Invalidate
(
sal_uInt16
nInvalidateFlags
)
{
{
if
(
!
pImp
)
return
;
if
(
nFocusWidth
==
-
1
)
if
(
nFocusWidth
==
-
1
)
// to make sure that the control doesn't show the wrong focus rectangle
// to make sure that the control doesn't show the wrong focus rectangle
// after painting
// after painting
...
...
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