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
0122cd3a
Kaydet (Commit)
0122cd3a
authored
Kas 12, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix mangled indent
üst
58f3e365
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
29 deletions
+28
-29
except.cxx
bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
+26
-27
share.hxx
bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
+2
-2
No files found.
bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
Dosyayı görüntüle @
0122cd3a
...
@@ -237,37 +237,36 @@ namespace CPPU_CURRENT_NAMESPACE
...
@@ -237,37 +237,36 @@ namespace CPPU_CURRENT_NAMESPACE
type_info
*
rtti
;
type_info
*
rtti
;
{
{
// construct cpp exception object
// construct cpp exception object
typelib_TypeDescription
*
pTypeDescr
=
0
;
typelib_TypeDescription
*
pTypeDescr
=
0
;
TYPELIB_DANGER_GET
(
&
pTypeDescr
,
pUnoExc
->
pType
);
TYPELIB_DANGER_GET
(
&
pTypeDescr
,
pUnoExc
->
pType
);
OSL_ASSERT
(
pTypeDescr
);
OSL_ASSERT
(
pTypeDescr
);
if
(
!
pTypeDescr
)
if
(
!
pTypeDescr
)
{
{
throw
RuntimeException
(
throw
RuntimeException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"cannot get typedescription for type "
)
)
+
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"cannot get typedescription for type "
)
)
+
*
reinterpret_cast
<
OUString
const
*
>
(
&
pUnoExc
->
pType
->
pTypeName
),
*
reinterpret_cast
<
OUString
const
*
>
(
&
pUnoExc
->
pType
->
pTypeName
),
Reference
<
XInterface
>
()
);
Reference
<
XInterface
>
()
);
}
}
pCppExc
=
__cxa_allocate_exception
(
pTypeDescr
->
nSize
);
pCppExc
=
__cxa_allocate_exception
(
pTypeDescr
->
nSize
);
::
uno_copyAndConvertData
(
pCppExc
,
pUnoExc
->
pData
,
pTypeDescr
,
pUno2Cpp
);
::
uno_copyAndConvertData
(
pCppExc
,
pUnoExc
->
pData
,
pTypeDescr
,
pUno2Cpp
);
// destruct uno exception
// destruct uno exception
::
uno_any_destruct
(
pUnoExc
,
0
);
::
uno_any_destruct
(
pUnoExc
,
0
);
rtti
=
(
type_info
*
)
RTTISingleton
::
get
().
getRTTI
(
(
typelib_CompoundTypeDescription
*
)
pTypeDescr
);
rtti
=
(
type_info
*
)
RTTISingleton
::
get
().
getRTTI
(
(
typelib_CompoundTypeDescription
*
)
pTypeDescr
);
TYPELIB_DANGER_RELEASE
(
pTypeDescr
);
TYPELIB_DANGER_RELEASE
(
pTypeDescr
);
OSL_ENSURE
(
rtti
,
"### no rtti for throwing exception!"
);
OSL_ENSURE
(
rtti
,
"### no rtti for throwing exception!"
);
if
(
!
rtti
)
if
(
!
rtti
)
{
{
throw
RuntimeException
(
throw
RuntimeException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"no rtti for type "
)
)
+
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"no rtti for type "
)
)
+
*
reinterpret_cast
<
OUString
const
*
>
(
&
pUnoExc
->
pType
->
pTypeName
),
*
reinterpret_cast
<
OUString
const
*
>
(
&
pUnoExc
->
pType
->
pTypeName
),
Reference
<
XInterface
>
()
);
Reference
<
XInterface
>
()
);
}
}
}
}
__cxa_throw
(
pCppExc
,
rtti
,
deleteException
);
__cxa_throw
(
pCppExc
,
rtti
,
deleteException
);
}
}
#ifdef __ARM_EABI__
#ifdef __ARM_EABI__
...
...
bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
Dosyayı görüntüle @
0122cd3a
...
@@ -53,8 +53,8 @@ namespace CPPU_CURRENT_NAMESPACE
...
@@ -53,8 +53,8 @@ namespace CPPU_CURRENT_NAMESPACE
int
handlerCount
;
int
handlerCount
;
#ifdef __ARM_EABI__
#ifdef __ARM_EABI__
__cxa_exception
*
nextPropagatingException
;
__cxa_exception
*
nextPropagatingException
;
int
propagationCount
;
int
propagationCount
;
#else
#else
int
handlerSwitchValue
;
int
handlerSwitchValue
;
const
unsigned
char
*
actionRecord
;
const
unsigned
char
*
actionRecord
;
...
...
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