diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 17:05:30 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 17:05:30 +0000 |
commit | 1fd2cb6bd55523908498cc3ef22b9bd9ee2045f0 (patch) | |
tree | 41a7adec4f1785f517c8ea8d2c1338fa413da69f /xmlsecurity/source/dialogs/macrosecurity.cxx | |
parent | b81082274b61faa90abc942f44e9c522eda65455 (diff) |
INTEGRATION: CWS xmlsec08 (1.19.8); FILE MERGED
2005/02/17 17:55:31 mt 1.19.8.3: #i41270# Don't check for pric key in doc cert...
2005/02/02 15:09:11 mt 1.19.8.2: RESYNC: (1.19-1.20); FILE MERGED
2005/01/21 11:05:14 pb 1.19.8.1: fix: #i40374# use new GetContentPart()
Diffstat (limited to 'xmlsecurity/source/dialogs/macrosecurity.cxx')
-rw-r--r-- | xmlsecurity/source/dialogs/macrosecurity.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 7e08d02284ea..3baee0a8dda7 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -2,9 +2,9 @@ * * $RCSfile: macrosecurity.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: rt $ $Date: 2005-01-28 15:22:27 $ + * last change: $Author: vg $ $Date: 2005-03-10 18:05:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -261,7 +261,7 @@ IMPL_LINK( MacroSecurityTrustedSourcesTP, ViewCertPBHdl, void*, EMTYARG ) if ( xCert.is() ) { - CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, xCert ); + CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, xCert, FALSE ); aViewer.Execute(); } } @@ -362,7 +362,6 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void ) maTrustCertLB.Clear(); sal_uInt32 nCountEntries = maTrustedAuthors.getLength(); - String aCN_Id( String::CreateFromAscii( "CN" ) ); for( sal_uInt32 nEntry = 0 ; nEntry < nCountEntries ; ++nEntry ) { cssu::Sequence< ::rtl::OUString >& rEntry = maTrustedAuthors[ nEntry ]; @@ -371,8 +370,8 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void ) // create from RawData xCert = mpDlg->mxSecurityEnvironment->createCertificateFromAscii( rEntry[ 2 ] ); - SvLBoxEntry* pLBEntry = maTrustCertLB.InsertEntry( XmlSec::GetContentPart( xCert->getSubjectName(), aCN_Id ) ); - maTrustCertLB.SetEntryText( XmlSec::GetContentPart( xCert->getIssuerName(), aCN_Id ), pLBEntry, 1 ); + SvLBoxEntry* pLBEntry = maTrustCertLB.InsertEntry( XmlSec::GetContentPart( xCert->getSubjectName() ) ); + maTrustCertLB.SetEntryText( XmlSec::GetContentPart( xCert->getIssuerName() ), pLBEntry, 1 ); maTrustCertLB.SetEntryText( XmlSec::GetDateTimeString( xCert->getNotAfter() ), pLBEntry, 2 ); pLBEntry->SetUserData( ( void* ) sal_Int32( nEntry ) ); // missuse user data as index } |