/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include "ids.hrc" #include "sslwarndlg.hxx" #include #include using namespace css; void SSLWarnDialog::ViewCert() { uno::Reference< css::security::XDocumentDigitalSignatures > xDocumentDigitalSignatures; xDocumentDigitalSignatures = css::security::DocumentDigitalSignatures::createDefault( m_xContext ); xDocumentDigitalSignatures.get()->showCertificate(getCert()); } SSLWarnDialog::SSLWarnDialog(vcl::Window* pParent, const css::uno::Reference< css::security::XCertificate >& rXCert, const css::uno::Reference< css::uno::XComponentContext >& xContext) : MessageDialog(pParent, "SSLWarnDialog", "uui/ui/sslwarndialog.ui") , m_xContext(xContext) , m_rXCert(rXCert) { } void SSLWarnDialog::response(short nResponseId) { switch (nResponseId) { case -1: ViewCert(); break; default: MessageDialog::response(nResponseId); break; } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ e='distro/cib/libreoffice-6-4'>distro/cib/libreoffice-6-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
/core/commit/toolkit/inc/awt?id=8081533f7c35939b64f11894470c3e033057a887'>XUnoTunnel->dynamic_cast in VCLXBitmap
AgeCommit message (Expand)Author
2020-11-21tdf#123936 Formatting files in module include with clang-formatPhilipp Hofer
Noel Grandin
2023-01-16XUnoTunnel->dynamic_cast in VCLXPointerNoel Grandin
2023-01-16XUnoTunnel->dynamic_cast in VCLXRegionNoel Grandin
2023-01-05Revert all the recent loplugin:unocast changesStephan Bergmann
2022-12-22loplugin:unocast (VCLXDialog)Stephan Bergmann
2022-12-22loplugin:unocast (VCLXMultiPage)Stephan Bergmann
2022-12-22loplugin:unocast (VCLXTabPage)Stephan Bergmann
2022-12-01Use cppuhelper::ImplInheritanceHelper for toolkit VCLX window classesStephan Bergmann
2022-08-06move SVTXGridControl to toolkitCaolán McNamara
2022-04-02Recheck modules t* with IWYUGabor Kelemen
2021-09-07vcl: move OutputDevice rasterop functions to outdev.cxxChris Sherlock
2021-08-04osl::Mutex->std::mutex in VCLXPointerNoel Grandin
2021-08-04osl::Mutex->std::mutex in VCLXRegionNoel Grandin
2021-08-04osl::Mutex->std::mutex in VCLXBitmapNoel Grandin
2021-07-28Move SVTXNumericField and parents to public toolkit headerMichael Weghorn
2021-07-21remove pimpl in AnimatedImagesPeerNoel Grandin
2021-06-26loplugin:finalclasses in toolkitNoel Grandin
2021-05-02throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewriteStephan Bergmann
2021-04-12vclxtopwindow.hxx and vclxcontainer.hxx can now be private headersCaolán McNamara
2021-04-12VCLXMultiPage can be in private headersCaolán McNamara
2021-04-09Recheck include/ with IWYUGabor Kelemen