summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs/certificatechooser.cxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2004-07-15 11:28:21 +0000
committerMalte Timmermann <mt@openoffice.org>2004-07-15 11:28:21 +0000
commit85e6135011824b837878bfd85a5540c55ff3a159 (patch)
tree1c860c8c09ec84fcc5467fd2e2bb3bbf3dcfa032 /xmlsecurity/source/dialogs/certificatechooser.cxx
parentbb0c4dce0df1319a7e3b5393fde8942fdbf0dc66 (diff)
...
Diffstat (limited to 'xmlsecurity/source/dialogs/certificatechooser.cxx')
-rw-r--r--xmlsecurity/source/dialogs/certificatechooser.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx
index efab9b3143e1..69b91f103930 100644
--- a/xmlsecurity/source/dialogs/certificatechooser.cxx
+++ b/xmlsecurity/source/dialogs/certificatechooser.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: certificatechooser.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mt $ $Date: 2004-07-12 13:15:23 $
+ * last change: $Author: mt $ $Date: 2004-07-15 12:28:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -91,16 +91,15 @@ using namespace ::com::sun::star;
#define INVAL_SEL 0xFFFF
-
USHORT CertificateChooser::GetSelectedEntryPos( void ) const
{
USHORT nSel = INVAL_SEL;
- SvLBoxEntry* pSel = maCertLB.FirstSelected();
+ SvLBoxEntry* pSel = maCertLB.FirstSelected();
if( pSel )
- nSel = ( USHORT ) pSel->GetUserData();
+ nSel = ( sal_Int32 ) pSel->GetUserData();
- return nSel;
+ return (USHORT) nSel;
}
CertificateChooser::CertificateChooser( Window* _pParent, uno::Reference< dcss::xml::crypto::XSecurityEnvironment >& _rxSecurityEnvironment, const SignatureInformations& _rCertsToIgnore )