summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 13:57:35 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 13:57:35 +0000
commitf451508b64988eca13b1df7bcaf4505178a060c7 (patch)
tree71ef8b156ca94af8cf45d07a9c3c6af43ee0a913 /xmlsecurity/source
parentb8b0cb4cbdbb2830f5c6a4f43855330dbd2f0371 (diff)
INTEGRATION: CWS intptr (1.23.48); FILE MERGED
2005/09/13 14:50:31 kendy 1.23.48.1: #i54498# Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/dialogs/macrosecurity.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx
index 50a3d03847b9..72534f981f67 100644
--- a/xmlsecurity/source/dialogs/macrosecurity.cxx
+++ b/xmlsecurity/source/dialogs/macrosecurity.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: macrosecurity.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 17:12:29 $
+ * last change: $Author: kz $ $Date: 2005-10-05 14:57:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -224,7 +224,7 @@ IMPL_LINK( MacroSecurityTrustedSourcesTP, ViewCertPBHdl, void*, EMTYARG )
{
if( maTrustCertLB.FirstSelected() )
{
- USHORT nSelected = USHORT( sal_Int32( maTrustCertLB.FirstSelected()->GetUserData() ) );
+ USHORT nSelected = USHORT( sal_uIntPtr( maTrustCertLB.FirstSelected()->GetUserData() ) );
uno::Reference< dcss::security::XCertificate > xCert = mpDlg->mxSecurityEnvironment->getCertificate( maTrustedAuthors[nSelected][0], numericStringToBigInteger( maTrustedAuthors[nSelected][1] ) );
// If we don't get it, create it from signature data:
@@ -246,7 +246,7 @@ IMPL_LINK( MacroSecurityTrustedSourcesTP, RemoveCertPBHdl, void*, EMTYARG )
{
if( maTrustCertLB.FirstSelected() )
{
- USHORT nAuthor = USHORT( sal_Int32( maTrustCertLB.FirstSelected()->GetUserData() ) );
+ USHORT nAuthor = USHORT( sal_uIntPtr( maTrustCertLB.FirstSelected()->GetUserData() ) );
::comphelper::removeElementAt( maTrustedAuthors, nAuthor );
FillCertLB();