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
a98c1692
Kaydet (Commit)
a98c1692
authored
Mar 26, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I5493b2337dad102a4b22c6a6d646b4b0fd04e247
üst
b627a4d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
config.cxx
tools/source/generic/config.cxx
+2
-2
inetstrm.cxx
tools/source/inet/inetstrm.cxx
+1
-1
zcodec.cxx
tools/source/zcodec/zcodec.cxx
+1
-1
No files found.
tools/source/generic/config.cxx
Dosyayı görüntüle @
a98c1692
...
@@ -645,8 +645,8 @@ ImplGroupData* Config::ImplGetGroup() const
...
@@ -645,8 +645,8 @@ ImplGroupData* Config::ImplGetGroup() const
// Always inherit group names and upate cache members
// Always inherit group names and upate cache members
pGroup
->
maGroupName
=
maGroupName
;
pGroup
->
maGroupName
=
maGroupName
;
((
Config
*
)
this
)
->
mnDataUpdateId
=
mpData
->
mnDataUpdateId
;
const_cast
<
Config
*>
(
this
)
->
mnDataUpdateId
=
mpData
->
mnDataUpdateId
;
((
Config
*
)
this
)
->
mpActGroup
=
pGroup
;
const_cast
<
Config
*>
(
this
)
->
mpActGroup
=
pGroup
;
}
}
return
mpActGroup
;
return
mpActGroup
;
...
...
tools/source/inet/inetstrm.cxx
Dosyayı görüntüle @
a98c1692
...
@@ -402,7 +402,7 @@ int INetMessageOStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
...
@@ -402,7 +402,7 @@ int INetMessageOStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
sal_Size
nDocSiz
=
pTargetMsg
->
GetDocumentSize
();
sal_Size
nDocSiz
=
pTargetMsg
->
GetDocumentSize
();
sal_Size
nWrite
=
0
;
sal_Size
nWrite
=
0
;
pLB
->
FillAppend
(
(
sal_Char
*
)
pData
,
nSize
,
&
nWrite
);
pLB
->
FillAppend
(
pData
,
nSize
,
&
nWrite
);
pTargetMsg
->
SetDocumentSize
(
nDocSiz
+
nWrite
);
pTargetMsg
->
SetDocumentSize
(
nDocSiz
+
nWrite
);
if
(
nWrite
<
nSize
)
return
INETSTREAM_STATUS_ERROR
;
if
(
nWrite
<
nSize
)
return
INETSTREAM_STATUS_ERROR
;
...
...
tools/source/zcodec/zcodec.cxx
Dosyayı görüntüle @
a98c1692
...
@@ -177,7 +177,7 @@ long ZCodec::Write( SvStream& rOStm, const sal_uInt8* pData, sal_uIntPtr nSize )
...
@@ -177,7 +177,7 @@ long ZCodec::Write( SvStream& rOStm, const sal_uInt8* pData, sal_uIntPtr nSize )
assert
(
&
rOStm
==
mpOStm
);
assert
(
&
rOStm
==
mpOStm
);
PZSTREAM
->
avail_in
=
nSize
;
PZSTREAM
->
avail_in
=
nSize
;
PZSTREAM
->
next_in
=
(
unsigned
char
*
)
pData
;
PZSTREAM
->
next_in
=
const_cast
<
unsigned
char
*>
(
pData
)
;
while
(
PZSTREAM
->
avail_in
||
(
PZSTREAM
->
avail_out
==
0
)
)
while
(
PZSTREAM
->
avail_in
||
(
PZSTREAM
->
avail_out
==
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