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
addf5518
Kaydet (Commit)
addf5518
authored
Eki 02, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin: cstylecast
Change-Id: I37d7c3e59f1debbee8d92e76f4d08fff773000b3
üst
0745982d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
certificatechooser.cxx
xmlsecurity/source/dialogs/certificatechooser.cxx
+2
-2
digitalsignaturesdialog.cxx
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+3
-3
macrosecurity.cxx
xmlsecurity/source/dialogs/macrosecurity.cxx
+1
-1
xmldocumentwrapper_xmlsecimpl.cxx
xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
+1
-1
No files found.
xmlsecurity/source/dialogs/certificatechooser.cxx
Dosyayı görüntüle @
addf5518
...
...
@@ -43,7 +43,7 @@ sal_uInt16 CertificateChooser::GetSelectedEntryPos( void ) const
SvTreeListEntry
*
pSel
=
m_pCertLB
->
FirstSelected
();
if
(
pSel
)
nSel
=
(
sal_uInt16
)
(
sal_uIntPtr
)
pSel
->
GetUserData
(
);
nSel
=
(
sal_uInt16
)
reinterpret_cast
<
sal_uIntPtr
>
(
pSel
->
GetUserData
()
);
return
(
sal_uInt16
)
nSel
;
}
...
...
@@ -173,7 +173,7 @@ void CertificateChooser::ImplInitialize()
SvTreeListEntry
*
pEntry
=
m_pCertLB
->
InsertEntry
(
XmlSec
::
GetContentPart
(
maCerts
[
nC
]
->
getSubjectName
()
)
+
"
\t
"
+
XmlSec
::
GetContentPart
(
maCerts
[
nC
]
->
getIssuerName
()
)
+
"
\t
"
+
XmlSec
::
GetDateString
(
maCerts
[
nC
]
->
getNotValidAfter
()
)
);
pEntry
->
SetUserData
(
(
void
*
)(
sal_IntPtr
)
nC
);
// missuse user data as index
pEntry
->
SetUserData
(
reinterpret_cast
<
void
*>
(
nC
)
);
// missuse user data as index
}
// enable/disable buttons
...
...
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
Dosyayı görüntüle @
addf5518
...
...
@@ -513,7 +513,7 @@ IMPL_LINK_NOARG(DigitalSignaturesDialog, RemoveButtonHdl)
{
try
{
sal_uInt16
nSelected
=
(
sal_uInt16
)
(
sal_uIntPtr
)
m_pSignaturesLB
->
FirstSelected
()
->
GetUserData
(
);
sal_uInt16
nSelected
=
(
sal_uInt16
)
reinterpret_cast
<
sal_uIntPtr
>
(
m_pSignaturesLB
->
FirstSelected
()
->
GetUserData
()
);
maCurrentSignatureInformations
.
erase
(
maCurrentSignatureInformations
.
begin
()
+
nSelected
);
// Export all other signatures...
...
...
@@ -671,7 +671,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox()
m_pSignaturesLB
->
SetEntryText
(
aSubject
,
pEntry
,
1
);
m_pSignaturesLB
->
SetEntryText
(
aIssuer
,
pEntry
,
2
);
m_pSignaturesLB
->
SetEntryText
(
aDateTimeStr
,
pEntry
,
3
);
pEntry
->
SetUserData
(
(
void
*
)
n
);
// missuse user data as index
pEntry
->
SetUserData
(
reinterpret_cast
<
void
*>
(
n
)
);
// missuse user data as index
}
}
...
...
@@ -726,7 +726,7 @@ void DigitalSignaturesDialog::ImplShowSignaturesDetails()
{
if
(
m_pSignaturesLB
->
FirstSelected
()
)
{
sal_uInt16
nSelected
=
(
sal_uInt16
)
(
sal_uIntPtr
)
m_pSignaturesLB
->
FirstSelected
()
->
GetUserData
(
);
sal_uInt16
nSelected
=
(
sal_uInt16
)
reinterpret_cast
<
sal_uIntPtr
>
(
m_pSignaturesLB
->
FirstSelected
()
->
GetUserData
()
);
const
SignatureInformation
&
rInfo
=
maCurrentSignatureInformations
[
nSelected
];
css
::
uno
::
Reference
<
css
::
xml
::
crypto
::
XSecurityEnvironment
>
xSecEnv
=
maSignatureHelper
.
GetSecurityEnvironment
();
...
...
xmlsecurity/source/dialogs/macrosecurity.cxx
Dosyayı görüntüle @
addf5518
...
...
@@ -315,7 +315,7 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void )
SvTreeListEntry
*
pLBEntry
=
m_pTrustCertLB
->
InsertEntry
(
XmlSec
::
GetContentPart
(
xCert
->
getSubjectName
()
)
);
m_pTrustCertLB
->
SetEntryText
(
XmlSec
::
GetContentPart
(
xCert
->
getIssuerName
()
),
pLBEntry
,
1
);
m_pTrustCertLB
->
SetEntryText
(
XmlSec
::
GetDateTimeString
(
xCert
->
getNotValidAfter
()
),
pLBEntry
,
2
);
pLBEntry
->
SetUserData
(
(
void
*
)
(
sal_IntPtr
)
nEntry
);
// missuse user data as index
pLBEntry
->
SetUserData
(
reinterpret_cast
<
void
*>
(
nEntry
)
);
// missuse user data as index
}
}
}
...
...
xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
Dosyayı görüntüle @
addf5518
...
...
@@ -725,7 +725,7 @@ cssu::Reference< cssxw::XXMLElementWrapper > SAL_CALL XMLDocumentWrapper_XmlSecI
throw
(
cssu
::
RuntimeException
,
std
::
exception
)
{
XMLElementWrapper_XmlSecImpl
*
pElement
=
new
XMLElementWrapper_XmlSecImpl
(
m_pCurrentElement
);
return
(
cssu
::
Reference
<
cssxw
::
XXMLElementWrapper
>
)
pElement
;
return
cssu
::
Reference
<
cssxw
::
XXMLElementWrapper
>
(
pElement
)
;
}
void
SAL_CALL
XMLDocumentWrapper_XmlSecImpl
::
setCurrentElement
(
const
cssu
::
Reference
<
cssxw
::
XXMLElementWrapper
>&
element
)
...
...
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