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
8ca53be7
Kaydet (Commit)
8ca53be7
authored
Haz 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iedee28da32a4333a414e06877f87851345bb4e9b
üst
e5de5696
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
debug.hxx
include/tools/debug.hxx
+1
-1
debug.cxx
tools/source/debug/debug.cxx
+1
-1
bigint.cxx
tools/source/generic/bigint.cxx
+3
-3
resmgr.cxx
tools/source/rc/resmgr.cxx
+1
-1
zcodec.cxx
tools/source/zcodec/zcodec.cxx
+3
-3
No files found.
include/tools/debug.hxx
Dosyayı görüntüle @
8ca53be7
...
@@ -66,7 +66,7 @@ inline DbgData* DbgGetData()
...
@@ -66,7 +66,7 @@ inline DbgData* DbgGetData()
inline
void
DbgSaveData
(
const
DbgData
&
rData
)
inline
void
DbgSaveData
(
const
DbgData
&
rData
)
{
{
DbgFunc
(
DBG_FUNC_SAVEDATA
,
(
void
*
)
&
rData
);
DbgFunc
(
DBG_FUNC_SAVEDATA
,
const_cast
<
DbgData
*>
(
&
rData
)
);
}
}
inline
bool
DbgIsResource
()
inline
bool
DbgIsResource
()
...
...
tools/source/debug/debug.cxx
Dosyayı görüntüle @
8ca53be7
...
@@ -258,7 +258,7 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam )
...
@@ -258,7 +258,7 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam )
DebugData
*
pDebugData
=
ImplGetDebugData
();
DebugData
*
pDebugData
=
ImplGetDebugData
();
if
(
nAction
==
DBG_FUNC_GETDATA
)
if
(
nAction
==
DBG_FUNC_GETDATA
)
return
(
void
*
)
&
(
pDebugData
->
aDbgData
);
return
static_cast
<
void
*>
(
&
(
pDebugData
->
aDbgData
)
);
else
else
{
{
switch
(
nAction
)
switch
(
nAction
)
...
...
tools/source/generic/bigint.cxx
Dosyayı görüntüle @
8ca53be7
...
@@ -45,7 +45,7 @@ void BigInt::MakeBigInt( const BigInt& rVal )
...
@@ -45,7 +45,7 @@ void BigInt::MakeBigInt( const BigInt& rVal )
{
{
if
(
rVal
.
bIsBig
)
if
(
rVal
.
bIsBig
)
{
{
memcpy
(
(
void
*
)
this
,
(
const
void
*
)
&
rVal
,
sizeof
(
BigInt
)
);
memcpy
(
static_cast
<
void
*>
(
this
),
static_cast
<
const
void
*>
(
&
rVal
)
,
sizeof
(
BigInt
)
);
while
(
nLen
>
1
&&
nNum
[
nLen
-
1
]
==
0
)
while
(
nLen
>
1
&&
nNum
[
nLen
-
1
]
==
0
)
nLen
--
;
nLen
--
;
}
}
...
@@ -476,7 +476,7 @@ BigInt::BigInt( const BigInt& rBigInt )
...
@@ -476,7 +476,7 @@ BigInt::BigInt( const BigInt& rBigInt )
,
bIsNeg
(
false
)
,
bIsNeg
(
false
)
{
{
if
(
rBigInt
.
bIsBig
)
if
(
rBigInt
.
bIsBig
)
memcpy
(
(
void
*
)
this
,
(
const
void
*
)
&
rBigInt
,
sizeof
(
BigInt
)
);
memcpy
(
static_cast
<
void
*>
(
this
),
static_cast
<
const
void
*>
(
&
rBigInt
)
,
sizeof
(
BigInt
)
);
else
else
{
{
bIsSet
=
rBigInt
.
bIsSet
;
bIsSet
=
rBigInt
.
bIsSet
;
...
@@ -647,7 +647,7 @@ BigInt& BigInt::operator=( const BigInt& rBigInt )
...
@@ -647,7 +647,7 @@ BigInt& BigInt::operator=( const BigInt& rBigInt )
return
*
this
;
return
*
this
;
if
(
rBigInt
.
bIsBig
)
if
(
rBigInt
.
bIsBig
)
memcpy
(
(
void
*
)
this
,
(
const
void
*
)
&
rBigInt
,
sizeof
(
BigInt
)
);
memcpy
(
static_cast
<
void
*>
(
this
),
static_cast
<
const
void
*>
(
&
rBigInt
)
,
sizeof
(
BigInt
)
);
else
else
{
{
bIsSet
=
rBigInt
.
bIsSet
;
bIsSet
=
rBigInt
.
bIsSet
;
...
...
tools/source/rc/resmgr.cxx
Dosyayı görüntüle @
8ca53be7
...
@@ -704,7 +704,7 @@ void ResMgr::RscError_Impl( const sal_Char* pMessage, ResMgr* pResMgr,
...
@@ -704,7 +704,7 @@ void ResMgr::RscError_Impl( const sal_Char* pMessage, ResMgr* pResMgr,
static
void
RscException_Impl
()
static
void
RscException_Impl
()
{
{
switch
(
osl_raiseSignal
(
OSL_SIGNAL_USER_RESOURCEFAILURE
,
(
void
*
)
""
)
)
switch
(
osl_raiseSignal
(
OSL_SIGNAL_USER_RESOURCEFAILURE
,
const_cast
<
char
*>
(
""
)
)
)
{
{
case
osl_Signal_ActCallNextHdl
:
case
osl_Signal_ActCallNextHdl
:
abort
();
abort
();
...
...
tools/source/zcodec/zcodec.cxx
Dosyayı görüntüle @
8ca53be7
...
@@ -72,9 +72,9 @@ void ZCodec::BeginCompression( int nCompressLevel, bool updateCrc, bool gzLib )
...
@@ -72,9 +72,9 @@ void ZCodec::BeginCompression( int nCompressLevel, bool updateCrc, bool gzLib )
mnCompressLevel
=
nCompressLevel
;
mnCompressLevel
=
nCompressLevel
;
mbUpdateCrc
=
updateCrc
;
mbUpdateCrc
=
updateCrc
;
mbGzLib
=
gzLib
;
mbGzLib
=
gzLib
;
PZSTREAM
->
zalloc
=
(
alloc_func
)
0
;
PZSTREAM
->
zalloc
=
nullptr
;
PZSTREAM
->
zfree
=
(
free_func
)
0
;
PZSTREAM
->
zfree
=
nullptr
;
PZSTREAM
->
opaque
=
(
voidpf
)
0
;
PZSTREAM
->
opaque
=
nullptr
;
PZSTREAM
->
avail_out
=
PZSTREAM
->
avail_in
=
0
;
PZSTREAM
->
avail_out
=
PZSTREAM
->
avail_in
=
0
;
}
}
...
...
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