From f2cd9e259fb634584b42ffebfd22622df3867065 Mon Sep 17 00:00:00 2001 From: Malte Timmermann Date: Mon, 26 Jul 2004 06:30:29 +0000 Subject: #i21596# Digital Signatures... --- xmlsecurity/source/dialogs/certificatechooser.cxx | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'xmlsecurity/source/dialogs/certificatechooser.cxx') diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx index f7f843b57311..e721d1e69548 100644 --- a/xmlsecurity/source/dialogs/certificatechooser.cxx +++ b/xmlsecurity/source/dialogs/certificatechooser.cxx @@ -2,9 +2,9 @@ * * $RCSfile: certificatechooser.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mt $ $Date: 2004-07-22 15:37:37 $ + * last change: $Author: mt $ $Date: 2004-07-26 07:29:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,7 @@ #include #include +#include #ifndef _COM_SUN_STAR_XML_CRYPTO_XSECURITYENVIRONMENT_HPP_ #include @@ -70,24 +71,17 @@ #include #endif -// MM : added for password exception -#include #include #include -using namespace ::com::sun::star::security; -// Only for bigIntegerToNumericString -#include - -#include "dialogs.hrc" -#include "resourcemanager.hxx" +#include +#include /* HACK: disable some warnings for MS-C */ #ifdef _MSC_VER #pragma warning (disable : 4355) // 4355: this used in initializer-list #endif -using namespace ::com::sun::star; using namespace ::com::sun::star; #define INVAL_SEL 0xFFFF @@ -98,7 +92,7 @@ USHORT CertificateChooser::GetSelectedEntryPos( void ) const SvLBoxEntry* pSel = maCertLB.FirstSelected(); if( pSel ) - nSel = ( sal_Int32 ) pSel->GetUserData(); + nSel = (USHORT) ( sal_Int32 ) pSel->GetUserData(); return (USHORT) nSel; } @@ -128,7 +122,7 @@ CertificateChooser::CertificateChooser( Window* _pParent, uno::Reference< dcss:: { maCerts = mxSecurityEnvironment->getPersonalCertificates(); } - catch (NoPasswordException&) + catch (security::NoPasswordException&) { } -- cgit v1.2.3