diff options
author | gt <gt@openoffice.org> | 2004-07-19 14:46:56 +0000 |
---|---|---|
committer | gt <gt@openoffice.org> | 2004-07-19 14:46:56 +0000 |
commit | 0a417711a64372b2d1e2436e1408cb06368fda66 (patch) | |
tree | ac1f92fe684b93977696dbd64892958b58490c05 /xmlsecurity | |
parent | fb7533db1986cda5c3ee7b16ba727154eb2723c3 (diff) |
#i20883# call of macro security dialog
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/component/documentdigitalsignatures.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index 0676236edaa8..cbdf474f0f31 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -2,9 +2,9 @@ * * $RCSfile: documentdigitalsignatures.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mt $ $Date: 2004-07-16 15:58:49 $ + * last change: $Author: gt $ $Date: 2004-07-19 15:46:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,7 @@ #include <documentdigitalsignatures.hxx> #include <xmlsecurity/digitalsignaturesdialog.hxx> +#include <xmlsecurity/macrosecurity.hxx> #ifndef _COM_SUN_STAR_EMBED_XSTORAGE_HPP_ #include <com/sun/star/embed/XStorage.hpp> @@ -69,6 +70,9 @@ #ifndef _COM_SUN_STAR_EMBED_ELEMENTMODES_HPP_ #include <com/sun/star/embed/ElementModes.hpp> #endif +#ifndef INCLUDED_SVTOOLS_SECURITYOPTIONS_HXX +#include <svtools/securityoptions.hxx> +#endif @@ -209,6 +213,10 @@ com::sun::star::uno::Sequence< ::com::sun::star::security::DocumentSignaturesInf void DocumentDigitalSignatures::manageTrustedSources( ) throw (::com::sun::star::uno::RuntimeException) { + cssu::Reference< css::lang::XMultiServiceFactory > xMSF; + cssu::Reference< dcss::xml::crypto::XSecurityEnvironment > xSecurityEnvironment; + MacroSecurity aDlg( NULL, xMSF, xSecurityEnvironment ); + aDlg.Execute(); } ::sal_Bool DocumentDigitalSignatures::isAuthorTrusted( const ::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate >& Author ) throw (::com::sun::star::uno::RuntimeException) @@ -227,6 +235,9 @@ void DocumentDigitalSignatures::addAuthorToTrustedSources( const ::com::sun::sta void DocumentDigitalSignatures::addLocationToTrustedSources( const ::rtl::OUString& Location ) throw (::com::sun::star::uno::RuntimeException) { + SvtSecurityOptions aSecOpt; + +// aSecOpt.AddSecureURL( Location ); } |