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
78a7f969
Kaydet (Commit)
78a7f969
authored
Mar 31, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I0e12e63846f7d06b4c2a4c00614c65b46aa64238
üst
86fcd862
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
service.cxx
extensions/source/plugin/base/service.cxx
+1
-1
download.cxx
extensions/source/update/check/download.cxx
+2
-2
No files found.
extensions/source/plugin/base/service.cxx
Dosyayı görüntüle @
78a7f969
...
...
@@ -67,7 +67,7 @@ extern "C" {
if
(
pXUnoSMgr
)
{
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
xMgr
(
reinterpret
_cast
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
*
>
(
pXUnoSMgr
)
static
_cast
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
*
>
(
pXUnoSMgr
)
);
Reference
<
::
com
::
sun
::
star
::
lang
::
XSingleServiceFactory
>
xFactory
;
if
(
aImplName
.
equals
(
XPluginManager_Impl
::
getImplementationName_Static
()
)
)
...
...
extensions/source/update/check/download.cxx
Dosyayı görüntüle @
78a7f969
...
...
@@ -131,7 +131,7 @@ getInt32Value(const uno::Reference< container::XNameAccess >& xNameAccess,
static
size_t
write_function
(
void
*
ptr
,
size_t
size
,
size_t
nmemb
,
void
*
stream
)
{
OutData
*
out
=
reinterpret
_cast
<
OutData
*
>
(
stream
);
OutData
*
out
=
static
_cast
<
OutData
*
>
(
stream
);
if
(
NULL
==
out
->
FileHandle
)
openFile
(
*
out
);
...
...
@@ -152,7 +152,7 @@ progress_callback( void *clientp, double dltotal, double dlnow, double ultotal,
(
void
)
ultotal
;
(
void
)
ulnow
;
OutData
*
out
=
reinterpret
_cast
<
OutData
*
>
(
clientp
);
OutData
*
out
=
static
_cast
<
OutData
*
>
(
clientp
);
assert
(
out
);
...
...
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