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
dbdb8195
Kaydet (Commit)
dbdb8195
authored
Ock 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: cppuhelper
Change-Id: Ifc11a0ea20a4eec40544cd931d0f94e0db3e3288
üst
9193a15f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
implbase_ex.cxx
cppuhelper/source/implbase_ex.cxx
+2
-2
tdmgr.cxx
cppuhelper/source/tdmgr.cxx
+4
-4
typeprovider.cxx
cppuhelper/source/typeprovider.cxx
+1
-1
No files found.
cppuhelper/source/implbase_ex.cxx
Dosyayı görüntüle @
dbdb8195
...
...
@@ -66,7 +66,7 @@ static inline void checkInterface( Type const & rType )
static
inline
bool
isXInterface
(
rtl_uString
*
pStr
)
{
return
(
*
((
OUString
const
*
)
&
pStr
)
==
"com.sun.star.uno.XInterface"
)
;
return
OUString
::
unacquired
(
&
pStr
)
==
"com.sun.star.uno.XInterface"
;
}
static
inline
void
*
makeInterface
(
sal_IntPtr
nOffset
,
void
*
that
)
...
...
@@ -79,7 +79,7 @@ static inline bool __td_equals(
typelib_TypeDescriptionReference
const
*
pTDR2
)
{
return
((
pTDR1
==
pTDR2
)
||
((
OUString
const
*
)
&
pTDR1
->
pTypeName
)
->
equals
(
*
(
OUString
const
*
)
&
pTDR2
->
pTypeName
));
OUString
::
unacquired
(
&
pTDR1
->
pTypeName
)
==
OUString
::
unacquired
(
&
pTDR2
->
pTypeName
));
}
static
inline
type_entry
*
__getTypeEntries
(
class_data
*
cd
)
...
...
cppuhelper/source/tdmgr.cxx
Dosyayı görüntüle @
dbdb8195
...
...
@@ -224,7 +224,7 @@ inline static typelib_TypeDescription * createCTD(
setExc
.
push_back
(
setExcs
[
i
]
->
getName
().
pData
);
}
typelib_typedescription_newExtendedInterfaceAttribute
(
(
typelib_InterfaceAttributeTypeDescription
**
)
&
pRet
,
reinterpret_cast
<
typelib_InterfaceAttributeTypeDescription
**>
(
&
pRet
)
,
xAttribute
->
getPosition
(),
aMemberName
.
pData
,
// name
(
typelib_TypeClass
)
xType
->
getTypeClass
(),
...
...
@@ -285,7 +285,7 @@ static typelib_TypeDescription * createCTD(
OUString
aReturnTypeName
(
xReturnType
->
getName
()
);
typelib_typedescription_newInterfaceMethod
(
(
typelib_InterfaceMethodTypeDescription
**
)
&
pRet
,
reinterpret_cast
<
typelib_InterfaceMethodTypeDescription
**>
(
&
pRet
)
,
xMethod
->
getPosition
(),
xMethod
->
isOneway
(),
aTypeName
.
pData
,
...
...
@@ -354,7 +354,7 @@ inline static typelib_TypeDescription * createCTD(
}
typelib_typedescription_newMIInterface
(
(
typelib_InterfaceTypeDescription
**
)
&
pRet
,
reinterpret_cast
<
typelib_InterfaceTypeDescription
**>
(
&
pRet
)
,
aTypeName
.
pData
,
0
,
0
,
0
,
0
,
0
,
nBases
,
pBaseTypeRefs
,
...
...
@@ -386,7 +386,7 @@ inline static typelib_TypeDescription * createCTD( const Reference< XEnumTypeDes
typelib_typedescription_newEnum
(
&
pRet
,
aTypeName
.
pData
,
xType
->
getDefaultEnumValue
(),
aNames
.
getLength
(),
(
rtl_uString
**
)
aNames
.
getConstArray
(
),
const_cast
<
rtl_uString
**>
(
reinterpret_cast
<
rtl_uString
*
const
*>
(
aNames
.
getConstArray
())
),
const_cast
<
sal_Int32
*
>
(
aValues
.
getConstArray
()
)
);
}
return
pRet
;
...
...
cppuhelper/source/typeprovider.cxx
Dosyayı görüntüle @
dbdb8195
...
...
@@ -42,7 +42,7 @@ Sequence< sal_Int8 > OImplementationId::getImplementationId() const
if
(
!
_pSeq
)
{
Sequence
<
sal_Int8
>
*
pSeq
=
new
Sequence
<
sal_Int8
>
(
16
);
::
rtl_createUuid
(
(
sal_uInt8
*
)
pSeq
->
getArray
(
),
0
,
_bUseEthernetAddress
);
::
rtl_createUuid
(
reinterpret_cast
<
sal_uInt8
*>
(
pSeq
->
getArray
()
),
0
,
_bUseEthernetAddress
);
_pSeq
=
pSeq
;
}
}
...
...
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