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
be44ec8c
Kaydet (Commit)
be44ec8c
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: I4df86baf0106283c78942c40a4b5830dd9c91195
üst
90da412b
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
16 additions
and
16 deletions
+16
-16
cachedcontentresultset.cxx
ucb/source/cacher/cachedcontentresultset.cxx
+4
-4
cacheserv.cxx
ucb/source/cacher/cacheserv.cxx
+1
-1
ucbserv.cxx
ucb/source/core/ucbserv.cxx
+1
-1
sortmain.cxx
ucb/source/sorter/sortmain.cxx
+1
-1
cmis_provider.cxx
ucb/source/ucp/cmis/cmis_provider.cxx
+1
-1
prov.cxx
ucb/source/ucp/file/prov.cxx
+1
-1
ftpservices.cxx
ucb/source/ucp/ftp/ftpservices.cxx
+1
-1
ftpurl.cxx
ucb/source/ucp/ftp/ftpurl.cxx
+1
-1
gio_provider.cxx
ucb/source/ucp/gio/gio_provider.cxx
+1
-1
hierarchyservices.cxx
ucb/source/ucp/hierarchy/hierarchyservices.cxx
+1
-1
pkgservices.cxx
ucb/source/ucp/package/pkgservices.cxx
+1
-1
tdoc_services.cxx
ucb/source/ucp/tdoc/tdoc_services.cxx
+1
-1
webdavservices.cxx
ucb/source/ucp/webdav-neon/webdavservices.cxx
+1
-1
No files found.
ucb/source/cacher/cachedcontentresultset.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -290,7 +290,7 @@ const Any& SAL_CALL CachedContentResultSet::CCRS_Cache
m_xContentIdentifierMapping
.
clear
();
}
const
Sequence
<
Any
>&
rRow
=
(
*
reinterpret
_cast
<
const
Sequence
<
Any
>
*
>
(
*
static
_cast
<
const
Sequence
<
Any
>
*
>
(
getRowAny
(
nRow
).
getValue
()
));
if
(
nColumnIndex
>
rRow
.
getLength
()
)
...
...
@@ -312,7 +312,7 @@ const OUString& SAL_CALL CachedContentResultSet::CCRS_Cache
rRow
<<=
m_xContentIdentifierMapping
->
mapContentIdentifierString
(
aValue
);
remindMapped
(
nRow
);
}
return
(
*
reinterpret
_cast
<
const
OUString
*
>
return
(
*
static
_cast
<
const
OUString
*
>
(
getRowAny
(
nRow
).
getValue
()
));
}
catch
(
const
SQLException
&
)
...
...
@@ -335,7 +335,7 @@ const Reference< XContentIdentifier >& SAL_CALL CachedContentResultSet::CCRS_Cac
rRow
<<=
m_xContentIdentifierMapping
->
mapContentIdentifier
(
aValue
);
remindMapped
(
nRow
);
}
return
(
*
reinterpret
_cast
<
const
Reference
<
XContentIdentifier
>
*
>
return
(
*
static
_cast
<
const
Reference
<
XContentIdentifier
>
*
>
(
getRowAny
(
nRow
).
getValue
()
));
}
catch
(
const
SQLException
&
)
...
...
@@ -358,7 +358,7 @@ const Reference< XContent >& SAL_CALL CachedContentResultSet::CCRS_Cache
rRow
<<=
m_xContentIdentifierMapping
->
mapContent
(
aValue
);
remindMapped
(
nRow
);
}
return
(
*
reinterpret
_cast
<
const
Reference
<
XContent
>
*
>
return
(
*
static
_cast
<
const
Reference
<
XContent
>
*
>
(
getRowAny
(
nRow
).
getValue
()
));
}
catch
(
const
SQLException
&
)
...
...
ucb/source/cacher/cacheserv.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -37,7 +37,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL cached1_component_getFactory(
void
*
pRet
=
0
;
Reference
<
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
static
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
Reference
<
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/core/ucbserv.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -36,7 +36,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucb_component_getFactory(
void
*
pRet
=
0
;
Reference
<
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
static
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
Reference
<
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/sorter/sortmain.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -32,7 +32,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL srtrs1_component_getFactory(
void
*
pRet
=
0
;
Reference
<
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
static
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
Reference
<
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/ucp/cmis/cmis_provider.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -130,7 +130,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpcmis1_component_getFactory( c
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
(
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
if
(
::
cmis
::
ContentProvider
::
getImplementationName_Static
().
equalsAscii
(
pImplName
)
)
...
...
ucb/source/ucp/file/prov.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -53,7 +53,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpfile_component_getFactory(
void
*
pRet
=
0
;
Reference
<
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
static
_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
)
);
Reference
<
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/ucp/ftp/ftpservices.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -32,7 +32,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpftp1_component_getFactory(
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/ucp/ftp/ftpurl.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -102,7 +102,7 @@ extern "C" {
int
memory_write
(
void
*
buffer
,
size_t
size
,
size_t
nmemb
,
void
*
stream
)
{
MemoryContainer
*
_stream
=
reinterpret
_cast
<
MemoryContainer
*>
(
stream
);
static
_cast
<
MemoryContainer
*>
(
stream
);
if
(
!
_stream
)
return
0
;
...
...
ucb/source/ucp/gio/gio_provider.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -117,7 +117,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpgio1_component_getFactory( co
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
(
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
#if !GLIB_CHECK_VERSION(2,36,0)
g_type_init
();
...
...
ucb/source/ucp/hierarchy/hierarchyservices.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -32,7 +32,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucphier1_component_getFactory(
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/ucp/package/pkgservices.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -31,7 +31,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucppkg1_component_getFactory(
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/ucp/tdoc/tdoc_services.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -35,7 +35,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucptdoc1_component_getFactory(
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
...
...
ucb/source/ucp/webdav-neon/webdavservices.cxx
Dosyayı görüntüle @
be44ec8c
...
...
@@ -40,7 +40,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpdav1_component_getFactory(
void
*
pRet
=
0
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
reinterpret
_cast
<
lang
::
XMultiServiceFactory
*
>
(
static
_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
...
...
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