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
0b6a0d4c
Kaydet (Commit)
0b6a0d4c
authored
Eki 30, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bridges: loplugin:cstylecast
Change-Id: I8613f1f7f2155aa972fa4f841ebfcf6e07e45821
üst
f76c3a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
callvirtualmethod.cxx
...ges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
+6
-6
except.cxx
bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+2
-2
No files found.
bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
Dosyayı görüntüle @
0b6a0d4c
...
...
@@ -106,26 +106,26 @@ void CPPU_CURRENT_NAMESPACE::callVirtualMethod(
break
;
case
typelib_TypeClass_HYPER
:
case
typelib_TypeClass_UNSIGNED_HYPER
:
((
long
*
)
pRegisterReturn
)[
1
]
=
edx
;
static_cast
<
long
*>
(
pRegisterReturn
)[
1
]
=
edx
;
case
typelib_TypeClass_LONG
:
case
typelib_TypeClass_UNSIGNED_LONG
:
case
typelib_TypeClass_CHAR
:
case
typelib_TypeClass_ENUM
:
((
long
*
)
pRegisterReturn
)[
0
]
=
eax
;
static_cast
<
long
*>
(
pRegisterReturn
)[
0
]
=
eax
;
break
;
case
typelib_TypeClass_SHORT
:
case
typelib_TypeClass_UNSIGNED_SHORT
:
*
(
unsigned
short
*
)
pRegisterReturn
=
eax
;
*
static_cast
<
unsigned
short
*>
(
pRegisterReturn
)
=
eax
;
break
;
case
typelib_TypeClass_BOOLEAN
:
case
typelib_TypeClass_BYTE
:
*
(
unsigned
char
*
)
pRegisterReturn
=
eax
;
*
static_cast
<
unsigned
char
*>
(
pRegisterReturn
)
=
eax
;
break
;
case
typelib_TypeClass_FLOAT
:
asm
(
"fstps %0"
:
:
"m"
(
*
(
char
*
)
pRegisterReturn
)
);
asm
(
"fstps %0"
:
:
"m"
(
*
static_cast
<
char
*>
(
pRegisterReturn
)
)
);
break
;
case
typelib_TypeClass_DOUBLE
:
asm
(
"fstpl %0
\n\t
"
:
:
"m"
(
*
(
char
*
)
pRegisterReturn
)
);
asm
(
"fstpl %0
\n\t
"
:
:
"m"
(
*
static_cast
<
char
*>
(
pRegisterReturn
)
)
);
break
;
default
:
{
...
...
bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
Dosyayı görüntüle @
0b6a0d4c
...
...
@@ -168,7 +168,7 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr )
{
// ensure availability of base
type_info
*
base_rtti
=
getRTTI
(
(
typelib_CompoundTypeDescription
*
)
pTypeDescr
->
pBaseTypeDescription
);
pTypeDescr
->
pBaseTypeDescription
);
rtti
=
new
__si_class_type_info
(
strdup
(
rttiName
),
static_cast
<
__class_type_info
*>
(
base_rtti
)
);
}
...
...
@@ -257,7 +257,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
#endif
}
}
rtti
=
(
type_info
*
)
s_rtti
->
getRTTI
(
reinterpret_cast
<
typelib_CompoundTypeDescription
*>
(
pTypeDescr
)
);
rtti
=
s_rtti
->
getRTTI
(
reinterpret_cast
<
typelib_CompoundTypeDescription
*>
(
pTypeDescr
)
);
TYPELIB_DANGER_RELEASE
(
pTypeDescr
);
assert
(
rtti
&&
"### no rtti for throwing exception!"
);
if
(
!
rtti
)
...
...
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