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
51a705c4
Kaydet (Commit)
51a705c4
authored
Mar 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up C-style casts from pointers to void
Change-Id: I112f4df678d9f3e70df7782443c860f930909e33
üst
b5125224
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
certificateviewer.cxx
xmlsecurity/source/dialogs/certificateviewer.cxx
+5
-5
securityenvironment_nssimpl.cxx
...ecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+1
-1
saxhelper.cxx
xmlsecurity/source/xmlsec/saxhelper.cxx
+1
-1
xmlstreamio.cxx
xmlsecurity/source/xmlsec/xmlstreamio.cxx
+2
-2
No files found.
xmlsecurity/source/dialogs/certificateviewer.cxx
Dosyayı görüntüle @
51a705c4
...
...
@@ -158,7 +158,7 @@ void CertificateViewerDetailsTP::Clear( void )
SvTreeListEntry
*
pEntry
=
m_pElementsLB
->
GetEntry
(
i
);
while
(
pEntry
)
{
delete
(
Details_UserDatat
*
)
pEntry
->
GetUserData
(
);
delete
static_cast
<
Details_UserDatat
*>
(
pEntry
->
GetUserData
()
);
++
i
;
pEntry
=
m_pElementsLB
->
GetEntry
(
i
);
}
...
...
@@ -271,7 +271,7 @@ IMPL_LINK_NOARG(CertificateViewerDetailsTP, ElementSelectHdl)
bool
bFixedWidthFont
;
if
(
pEntry
)
{
const
Details_UserDatat
*
p
=
(
Details_UserDatat
*
)
pEntry
->
GetUserData
(
);
const
Details_UserDatat
*
p
=
static_cast
<
Details_UserDatat
*>
(
pEntry
->
GetUserData
()
);
aElementText
=
p
->
maTxt
;
bFixedWidthFont
=
p
->
mbFixedWidthFont
;
}
...
...
@@ -370,7 +370,7 @@ IMPL_LINK_NOARG(CertificateViewerCertPathTP, ViewCertHdl)
SvTreeListEntry
*
pEntry
=
mpCertPathLB
->
FirstSelected
();
if
(
pEntry
)
{
CertificateViewer
aViewer
(
this
,
mpDlg
->
mxSecurityEnvironment
,
((
CertPath_UserData
*
)
pEntry
->
GetUserData
())
->
mxCert
,
false
);
CertificateViewer
aViewer
(
this
,
mpDlg
->
mxSecurityEnvironment
,
static_cast
<
CertPath_UserData
*>
(
pEntry
->
GetUserData
())
->
mxCert
,
false
);
aViewer
.
Execute
();
}
...
...
@@ -383,7 +383,7 @@ IMPL_LINK_NOARG(CertificateViewerCertPathTP, CertSelectHdl)
SvTreeListEntry
*
pEntry
=
mpCertPathLB
->
FirstSelected
();
if
(
pEntry
)
{
CertPath_UserData
*
pData
=
(
CertPath_UserData
*
)
pEntry
->
GetUserData
(
);
CertPath_UserData
*
pData
=
static_cast
<
CertPath_UserData
*>
(
pEntry
->
GetUserData
()
);
if
(
pData
)
sStatus
=
pData
->
mbValid
?
msCertOK
:
msCertNotValidated
;
}
...
...
@@ -400,7 +400,7 @@ void CertificateViewerCertPathTP::Clear( void )
SvTreeListEntry
*
pEntry
=
mpCertPathLB
->
GetEntry
(
i
);
while
(
pEntry
)
{
delete
(
CertPath_UserData
*
)
pEntry
->
GetUserData
(
);
delete
static_cast
<
CertPath_UserData
*>
(
pEntry
->
GetUserData
()
);
++
i
;
pEntry
=
mpCertPathLB
->
GetEntry
(
i
);
}
...
...
xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
Dosyayı görüntüle @
51a705c4
...
...
@@ -97,7 +97,7 @@ char* GetPasswordFunction( PK11SlotInfo* pSlot, PRBool bRetry, void* /*arg*/ )
pPasswordRequest
->
getPassword
(),
osl_getThreadTextEncoding
()));
sal_Int32
nLen
=
aPassword
.
getLength
();
char
*
pPassword
=
(
char
*
)
PORT_Alloc
(
nLen
+
1
)
;
char
*
pPassword
=
static_cast
<
char
*>
(
PORT_Alloc
(
nLen
+
1
)
)
;
pPassword
[
nLen
]
=
0
;
memcpy
(
pPassword
,
aPassword
.
getStr
(),
nLen
);
return
pPassword
;
...
...
xmlsecurity/source/xmlsec/saxhelper.cxx
Dosyayı görüntüle @
51a705c4
...
...
@@ -67,7 +67,7 @@ const xmlChar** attrlist_to_nxmlstr( const cssu::Sequence< cssxcsax::XMLAttribut
if
(
nLength
!=
0
)
{
attrs
=
(
const
xmlChar
**
)
xmlMalloc
(
(
nLength
*
2
+
2
)
*
sizeof
(
xmlChar
*
)
)
;
attrs
=
static_cast
<
const
xmlChar
**>
(
xmlMalloc
(
(
nLength
*
2
+
2
)
*
sizeof
(
xmlChar
*
)
))
;
}
else
{
...
...
xmlsecurity/source/xmlsec/xmlstreamio.cxx
Dosyayı görüntüle @
51a705c4
...
...
@@ -116,7 +116,7 @@ int xmlStreamRead( void* context, char* buffer, int len )
if
(
(
enableXmlStreamIO
&
XMLSTREAMIO_INITIALIZED
)
&&
(
enableXmlStreamIO
&
XMLSTREAMIO_REGISTERED
)
)
{
if
(
context
!=
NULL
)
{
xInputStream
=
(
com
::
sun
::
star
::
io
::
XInputStream
*
)
context
;
xInputStream
=
static_cast
<
com
::
sun
::
star
::
io
::
XInputStream
*>
(
context
)
;
if
(
!
xInputStream
.
is
()
)
return
0
;
...
...
@@ -137,7 +137,7 @@ int xmlStreamClose( void * context )
(
enableXmlStreamIO
&
XMLSTREAMIO_REGISTERED
)
)
{
if
(
context
!=
NULL
)
{
::
com
::
sun
::
star
::
io
::
XInputStream
*
pInputStream
;
pInputStream
=
(
::
com
::
sun
::
star
::
io
::
XInputStream
*
)
context
;
pInputStream
=
static_cast
<
css
::
io
::
XInputStream
*>
(
context
)
;
pInputStream
->
release
()
;
}
}
...
...
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