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
2fa1c894
Kaydet (Commit)
2fa1c894
authored
Ock 15, 2018
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More loplugin:cstylecast: cppuhelper
Change-Id: I193884eea6289653d648489edd1a8e929524a3c5
üst
8fc6c5c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
tdmgr.cxx
cppuhelper/source/tdmgr.cxx
+8
-8
No files found.
cppuhelper/source/tdmgr.cxx
Dosyayı görüntüle @
2fa1c894
...
...
@@ -95,7 +95,7 @@ inline static typelib_TypeDescription * createCTD(
for
(
nPos
=
nMembers
;
nPos
--
;
)
{
typelib_CompoundMember_Init
&
rInit
=
pMemberInits
[
nPos
];
rInit
.
eTypeClass
=
(
typelib_TypeClass
)
pMemberTypes
[
nPos
]
->
getTypeClass
(
);
rInit
.
eTypeClass
=
static_cast
<
typelib_TypeClass
>
(
pMemberTypes
[
nPos
]
->
getTypeClass
()
);
OUString
aMemberTypeName
(
pMemberTypes
[
nPos
]
->
getName
()
);
rtl_uString_acquire
(
rInit
.
pTypeName
=
aMemberTypeName
.
pData
);
...
...
@@ -106,7 +106,7 @@ inline static typelib_TypeDescription * createCTD(
typelib_typedescription_new
(
&
pRet
,
(
typelib_TypeClass
)
xType
->
getTypeClass
(
),
static_cast
<
typelib_TypeClass
>
(
xType
->
getTypeClass
()
),
aTypeName
.
pData
,
(
pBaseType
?
pBaseType
->
pWeakRef
:
nullptr
),
nMembers
,
pMemberInits
);
...
...
@@ -167,7 +167,7 @@ inline static typelib_TypeDescription * createCTD(
{
typelib_StructMember_Init
&
rInit
=
pMemberInits
[
nPos
];
rInit
.
aBase
.
eTypeClass
=
(
typelib_TypeClass
)
pMemberTypes
[
nPos
]
->
getTypeClass
(
);
=
static_cast
<
typelib_TypeClass
>
(
pMemberTypes
[
nPos
]
->
getTypeClass
()
);
OUString
aMemberTypeName
(
pMemberTypes
[
nPos
]
->
getName
()
);
rtl_uString_acquire
(
...
...
@@ -227,7 +227,7 @@ inline static typelib_TypeDescription * createCTD(
reinterpret_cast
<
typelib_InterfaceAttributeTypeDescription
**>
(
&
pRet
),
xAttribute
->
getPosition
(),
aMemberName
.
pData
,
// name
(
typelib_TypeClass
)
xType
->
getTypeClass
(
),
static_cast
<
typelib_TypeClass
>
(
xType
->
getTypeClass
()
),
aMemberTypeName
.
pData
,
// type name
xAttribute
->
isReadOnly
(),
getExc
.
size
(),
getExc
.
data
(),
...
...
@@ -259,7 +259,7 @@ static typelib_TypeDescription * createCTD(
const
Reference
<
XTypeDescription
>
&
xType
=
xParam
->
getType
();
typelib_Parameter_Init
&
rInit
=
pParamInit
[
xParam
->
getPosition
()];
rInit
.
eTypeClass
=
(
typelib_TypeClass
)
xType
->
getTypeClass
(
);
rInit
.
eTypeClass
=
static_cast
<
typelib_TypeClass
>
(
xType
->
getTypeClass
()
);
OUString
aParamTypeName
(
xType
->
getName
()
);
rtl_uString_acquire
(
rInit
.
pTypeName
=
aParamTypeName
.
pData
);
OUString
aParamName
(
xParam
->
getName
()
);
...
...
@@ -289,7 +289,7 @@ static typelib_TypeDescription * createCTD(
xMethod
->
getPosition
(),
xMethod
->
isOneway
(),
aTypeName
.
pData
,
(
typelib_TypeClass
)
xReturnType
->
getTypeClass
(
),
static_cast
<
typelib_TypeClass
>
(
xReturnType
->
getTypeClass
()
),
aReturnTypeName
.
pData
,
nParams
,
pParamInit
,
nExceptions
,
ppExceptionNames
);
...
...
@@ -349,7 +349,7 @@ inline static typelib_TypeDescription * createCTD(
ppMemberRefs
[
nPos
]
=
nullptr
;
typelib_typedescriptionreference_new
(
ppMemberRefs
+
nPos
,
(
typelib_TypeClass
)
pMembers
[
nPos
]
->
getTypeClass
(
),
static_cast
<
typelib_TypeClass
>
(
pMembers
[
nPos
]
->
getTypeClass
()
),
aMemberTypeName
.
pData
);
}
...
...
@@ -407,7 +407,7 @@ inline static typelib_TypeDescription * createCTD(
typelib_typedescription_new
(
&
pRet
,
(
typelib_TypeClass
)
xType
->
getTypeClass
(
),
static_cast
<
typelib_TypeClass
>
(
xType
->
getTypeClass
()
),
aTypeName
.
pData
,
pRefType
->
pWeakRef
,
0
,
nullptr
);
...
...
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