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
80e8ffc0
Kaydet (Commit)
80e8ffc0
authored
Haz 29, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tubes: use correct casts
üst
3117ee35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
contacts.cxx
sc/source/ui/collab/contacts.cxx
+3
-3
No files found.
sc/source/ui/collab/contacts.cxx
Dosyayı görüntüle @
80e8ffc0
...
@@ -65,9 +65,9 @@ class TubeContacts : public ModelessDialog
...
@@ -65,9 +65,9 @@ class TubeContacts : public ModelessDialog
void
Listen
()
void
Listen
()
{
{
ScDocShell
*
pScDocShell
=
reinterpret
_cast
<
ScDocShell
*>
(
SfxObjectShell
::
Current
());
ScDocShell
*
pScDocShell
=
dynamic
_cast
<
ScDocShell
*>
(
SfxObjectShell
::
Current
());
ScDocFunc
*
pDocFunc
=
pScDocShell
?
&
pScDocShell
->
GetDocFunc
()
:
NULL
;
ScDocFunc
*
pDocFunc
=
pScDocShell
?
&
pScDocShell
->
GetDocFunc
()
:
NULL
;
ScDocFuncSend
*
pSender
=
reinterpret
_cast
<
ScDocFuncSend
*>
(
pDocFunc
);
ScDocFuncSend
*
pSender
=
dynamic
_cast
<
ScDocFuncSend
*>
(
pDocFunc
);
if
(
!
pSender
)
if
(
!
pSender
)
{
{
delete
pDocFunc
;
delete
pDocFunc
;
...
@@ -83,7 +83,7 @@ class TubeContacts : public ModelessDialog
...
@@ -83,7 +83,7 @@ class TubeContacts : public ModelessDialog
{
{
AccountContact
*
pAC
=
NULL
;
AccountContact
*
pAC
=
NULL
;
if
(
maList
.
FirstSelected
())
if
(
maList
.
FirstSelected
())
pAC
=
reinterpret
_cast
<
AccountContact
*>
(
maList
.
FirstSelected
()
->
GetUserData
());
pAC
=
static
_cast
<
AccountContact
*>
(
maList
.
FirstSelected
()
->
GetUserData
());
if
(
pAC
)
if
(
pAC
)
{
{
TpAccount
*
pAccount
=
pAC
->
mpAccount
;
TpAccount
*
pAccount
=
pAC
->
mpAccount
;
...
...
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