diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-05 13:57:17 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-05 13:57:17 +0000 |
commit | d876b3029bc69cc216916d41556d49fb8f7cae15 (patch) | |
tree | 9cc9af5fc79aea01076d6d3a8e339b8bd3cbb393 /xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | |
parent | 9494ac8d392496b0f4c53dd8ab4b95ba60dcd15e (diff) |
INTEGRATION: CWS intptr (1.20.42); FILE MERGED
2005/09/13 14:50:31 kendy 1.20.42.1: #i54498#
Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
Diffstat (limited to 'xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx')
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 164d3b0ab..5cb7b1cc8 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -4,9 +4,9 @@ * * $RCSfile: digitalsignaturesdialog.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: rt $ $Date: 2005-09-09 17:11:25 $ + * last change: $Author: kz $ $Date: 2005-10-05 14:57:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -329,7 +329,7 @@ IMPL_LINK( DigitalSignaturesDialog, RemoveButtonHdl, Button*, EMPTYARG ) { try { - USHORT nSelected = (USHORT) (sal_Int32) maSignaturesLB.FirstSelected()->GetUserData(); + USHORT nSelected = (USHORT) (sal_uIntPtr) maSignaturesLB.FirstSelected()->GetUserData(); maCurrentSignatureInformations.erase( maCurrentSignatureInformations.begin()+nSelected ); // Export all other signatures... @@ -470,7 +470,7 @@ void DigitalSignaturesDialog::ImplShowSignaturesDetails() { if( maSignaturesLB.FirstSelected() ) { - USHORT nSelected = (USHORT) (sal_Int32) maSignaturesLB.FirstSelected()->GetUserData(); + USHORT nSelected = (USHORT) (sal_uIntPtr) maSignaturesLB.FirstSelected()->GetUserData(); const SignatureInformation& rInfo = maCurrentSignatureInformations[ nSelected ]; // Use Certificate from doc, not from key store |