filter/source/pdf/impdialog.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
New commits: commit 64f614d93e0ff2b719e8dd360c0ed684569439bc Author: Gökçen Eraslan <[email protected]> Date: Sun Jul 1 11:35:12 2012 +0300 Add CertificateChooser code in comment. When I solve #include "xmlsecurity/..." problem, I will use that code. Change-Id: Ia119557d90ba231d848b7eaac41249a8acd897a2 diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 1ca8a9a..cc26818 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -33,6 +33,7 @@ #include "vcl/msgbox.hxx" #include "sfx2/passwd.hxx" #include "svtools/miscopt.hxx" +//#include "xmlsecurity/certificatechooser.hxx" #include "comphelper/storagehelper.hxx" @@ -1697,6 +1698,19 @@ ImpPDFTabSigningPage::~ImpPDFTabSigningPage() IMPL_LINK_NOARG( ImpPDFTabSigningPage, ClickmaPbSignSelectCert ) { // Certificate selection dialog will pop up + /* + Reference< dcss::xml::crypto::XSecurityEnvironment > xSecEnv; + Reference< XComponentContext > mxCtx; + + XMLSignatureHelper aSignatureHelper( mxCtx ); + if ( aSignatureHelper.Init() ) + xSecEnv = aSignatureHelper.GetSecurityEnvironment(); + + SignatureInformations maCurrentSignatureInformations = maSignatureHelper.GetSignatureInformations(); + CertificateChooser aChooser( this, mxCtx, xSecEnv, maCurrentSignatureInformations ); + aChooser.Execute(); + */ + return 0; }
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
