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
d9727f1b
Kaydet (Commit)
d9727f1b
authored
May 29, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:redundantcast: const_cast to same type
Change-Id: Id14155fb1ec81d918490a904e4d0f6d2d67f7885
üst
f5585675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
unmarshal.cxx
binaryurp/source/unmarshal.cxx
+2
-3
No files found.
binaryurp/source/unmarshal.cxx
Dosyayı görüntüle @
d9727f1b
...
...
@@ -83,8 +83,7 @@ std::vector< BinaryAny >::iterator copyMemberValues(
for
(
sal_Int32
j
=
0
;
j
!=
ctd
->
nMembers
;
++
j
)
{
uno_type_copyData
(
static_cast
<
char
*
>
(
buffer
)
+
ctd
->
pMemberOffsets
[
j
],
const_cast
<
void
*
>
(
i
++->
getValue
(
css
::
uno
::
TypeDescription
(
ctd
->
ppTypeRefs
[
j
]))),
i
++->
getValue
(
css
::
uno
::
TypeDescription
(
ctd
->
ppTypeRefs
[
j
])),
ctd
->
ppTypeRefs
[
j
],
0
);
}
return
i
;
...
...
@@ -462,7 +461,7 @@ BinaryAny Unmarshal::readSequence(css::uno::TypeDescription const & type) {
for
(
sal_uInt32
i
=
0
;
i
!=
n
;
++
i
)
{
uno_copyData
(
static_cast
<
sal_Sequence
*
>
(
buf
)
->
elements
+
i
*
ctd
.
get
()
->
nSize
,
const_cast
<
void
*
>
(
as
[
i
].
getValue
(
ctd
)
),
ctd
.
get
(),
0
);
as
[
i
].
getValue
(
ctd
),
ctd
.
get
(),
0
);
}
return
BinaryAny
(
type
,
&
buf
);
}
...
...
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