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
ff86d3ac
Kaydet (Commit)
ff86d3ac
authored
Eki 07, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: reinterpret_cast used between related classes
static_cast is what we should need here, say the C++ experts.
üst
86cbc1dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cnttab.cxx
sw/source/ui/index/cnttab.cxx
+5
-5
No files found.
sw/source/ui/index/cnttab.cxx
Dosyayı görüntüle @
ff86d3ac
...
...
@@ -3606,7 +3606,7 @@ IMPL_LINK(SwTokenWindow, NextItemHdl, SwTOXEdit*, pEdit)
Control
*
pCtrlFocus
=
*
iterFocus
;
pCtrlFocus
->
GrabFocus
();
reinterpret
_cast
<
SwTOXButton
*>
(
pCtrlFocus
)
->
Check
();
static
_cast
<
SwTOXButton
*>
(
pCtrlFocus
)
->
Check
();
AdjustScrolling
();
}
...
...
@@ -3621,7 +3621,7 @@ IMPL_LINK(SwTokenWindow, TbxFocusHdl, SwTOXEdit*, pEdit)
Control
*
pCtrl
=
*
it
;
if
(
pCtrl
&&
pCtrl
->
GetType
()
!=
WINDOW_EDIT
)
reinterpret
_cast
<
SwTOXButton
*>
(
pCtrl
)
->
Check
(
false
);
static
_cast
<
SwTOXButton
*>
(
pCtrl
)
->
Check
(
false
);
}
SetActiveControl
(
pEdit
);
...
...
@@ -3652,13 +3652,13 @@ IMPL_LINK(SwTokenWindow, NextItemBtnHdl, SwTOXButton*, pBtn )
if
(
!
isNext
)
{
sal_uInt16
nLen
=
reinterpret
_cast
<
SwTOXEdit
*>
(
pCtrlFocus
)
->
GetText
().
Len
();
sal_uInt16
nLen
=
static
_cast
<
SwTOXEdit
*>
(
pCtrlFocus
)
->
GetText
().
Len
();
aSel
.
A
()
=
nLen
;
aSel
.
B
()
=
nLen
;
}
reinterpret
_cast
<
SwTOXEdit
*>
(
pCtrlFocus
)
->
SetSelection
(
aSel
);
static
_cast
<
SwTOXEdit
*>
(
pCtrlFocus
)
->
SetSelection
(
aSel
);
pBtn
->
Check
(
false
);
...
...
@@ -3675,7 +3675,7 @@ IMPL_LINK(SwTokenWindow, TbxFocusBtnHdl, SwTOXButton*, pBtn )
Control
*
pControl
=
*
it
;
if
(
pControl
&&
WINDOW_EDIT
!=
pControl
->
GetType
())
reinterpret
_cast
<
SwTOXButton
*>
(
pControl
)
->
Check
(
pBtn
==
pControl
);
static
_cast
<
SwTOXButton
*>
(
pControl
)
->
Check
(
pBtn
==
pControl
);
}
SetActiveControl
(
pBtn
);
...
...
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