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
fe951dc0
Kaydet (Commit)
fe951dc0
authored
Tem 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1228876 Uninitialized pointer field
Change-Id: I8de9efc5abfa01225aa6032bf68a32fed17aeb00
üst
6c2c974d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
hangulhanjadlg.cxx
cui/source/dialogs/hangulhanjadlg.cxx
+8
-5
hangulhanjadlg.hxx
cui/source/inc/hangulhanjadlg.hxx
+1
-1
No files found.
cui/source/dialogs/hangulhanjadlg.cxx
Dosyayı görüntüle @
fe951dc0
...
@@ -1354,12 +1354,12 @@ namespace svx
...
@@ -1354,12 +1354,12 @@ namespace svx
if
(
_bUp
)
if
(
_bUp
)
{
{
if
(
!
m_pPrev
)
if
(
!
m_pPrev
)
bRet
=
m_
rScrollBar
->
GetThumbPos
()
>
m_r
ScrollBar
->
GetRangeMin
();
bRet
=
m_
pScrollBar
->
GetThumbPos
()
>
m_p
ScrollBar
->
GetRangeMin
();
}
}
else
else
{
{
if
(
!
m_pNext
)
if
(
!
m_pNext
)
bRet
=
m_
rScrollBar
->
GetThumbPos
()
<
(
m_r
ScrollBar
->
GetRangeMax
()
-
4
);
bRet
=
m_
pScrollBar
->
GetThumbPos
()
<
(
m_p
ScrollBar
->
GetRangeMax
()
-
4
);
}
}
return
bRet
;
return
bRet
;
...
@@ -1370,13 +1370,16 @@ namespace svx
...
@@ -1370,13 +1370,16 @@ namespace svx
const
Link
&
rLoseFocusHdl
=
GetLoseFocusHdl
();
const
Link
&
rLoseFocusHdl
=
GetLoseFocusHdl
();
if
(
rLoseFocusHdl
.
IsSet
()
)
if
(
rLoseFocusHdl
.
IsSet
()
)
rLoseFocusHdl
.
Call
(
this
);
rLoseFocusHdl
.
Call
(
this
);
m_
rScrollBar
->
SetThumbPos
(
m_r
ScrollBar
->
GetThumbPos
()
+
(
_bUp
?
-
1
:
1
)
);
m_
pScrollBar
->
SetThumbPos
(
m_p
ScrollBar
->
GetThumbPos
()
+
(
_bUp
?
-
1
:
1
)
);
(
static_cast
<
HangulHanjaEditDictDialog
*
>
(
GetParentDialog
()
)
)
->
UpdateScrollbar
();
(
static_cast
<
HangulHanjaEditDictDialog
*
>
(
GetParentDialog
()
)
)
->
UpdateScrollbar
();
}
}
SuggestionEdit
::
SuggestionEdit
(
Window
*
pParent
,
WinBits
nBits
)
SuggestionEdit
::
SuggestionEdit
(
Window
*
pParent
,
WinBits
nBits
)
:
Edit
(
pParent
,
nBits
)
:
Edit
(
pParent
,
nBits
)
,
m_pPrev
(
NULL
)
,
m_pNext
(
NULL
)
,
m_pScrollBar
(
NULL
)
{
{
}
}
...
@@ -1435,7 +1438,7 @@ namespace svx
...
@@ -1435,7 +1438,7 @@ namespace svx
void
SuggestionEdit
::
init
(
ScrollBar
*
pScrollBar
,
SuggestionEdit
*
pPrev
,
SuggestionEdit
*
pNext
)
void
SuggestionEdit
::
init
(
ScrollBar
*
pScrollBar
,
SuggestionEdit
*
pPrev
,
SuggestionEdit
*
pNext
)
{
{
m_
r
ScrollBar
=
pScrollBar
;
m_
p
ScrollBar
=
pScrollBar
;
m_pPrev
=
pPrev
;
m_pPrev
=
pPrev
;
m_pNext
=
pNext
;
m_pNext
=
pNext
;
}
}
...
...
cui/source/inc/hangulhanjadlg.hxx
Dosyayı görüntüle @
fe951dc0
...
@@ -255,7 +255,7 @@ namespace svx
...
@@ -255,7 +255,7 @@ namespace svx
private
:
private
:
SuggestionEdit
*
m_pPrev
;
SuggestionEdit
*
m_pPrev
;
SuggestionEdit
*
m_pNext
;
SuggestionEdit
*
m_pNext
;
ScrollBar
*
m_
r
ScrollBar
;
ScrollBar
*
m_
p
ScrollBar
;
bool
ShouldScroll
(
bool
_bUp
)
const
;
bool
ShouldScroll
(
bool
_bUp
)
const
;
void
DoJump
(
bool
_bUp
);
void
DoJump
(
bool
_bUp
);
...
...
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