From 2dff5e856ab343b1296f63d645c47382493fe2fe Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Tue, 31 Jan 2017 09:07:14 +0100 Subject: tdf#105566 Show InfoBar when signature is invalid gpg4libre Change-Id: I272ac155889e25b9af91ff723a014588a65b045a Reviewed-on: https://gerrit.libreoffice.org/33737 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- dbaccess/source/core/dataaccess/ModelImpl.cxx | 5 ----- dbaccess/source/core/dataaccess/ModelImpl.hxx | 1 - 2 files changed, 6 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx index 545b1c9e232b..8c94d9a711c4 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.cxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx @@ -1335,11 +1335,6 @@ bool ODatabaseModelImpl::hasTrustedScriptingSignature( bool /*bAllowUIToAddAutho return false; } -void ODatabaseModelImpl::showBrokenSignatureWarning( const Reference< XInteractionHandler >& /*_rxInteraction*/ ) const -{ - OSL_FAIL( "ODatabaseModelImpl::showBrokenSignatureWarning: signatures can't be broken - we do not support them!" ); -} - void ODatabaseModelImpl::storageIsModified() { setModified( true ); diff --git a/dbaccess/source/core/dataaccess/ModelImpl.hxx b/dbaccess/source/core/dataaccess/ModelImpl.hxx index 71ecca9ed1c0..fb02e0ed6fcb 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.hxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx @@ -467,7 +467,6 @@ public: virtual css::uno::Reference< css::document::XEmbeddedScripts > getEmbeddedDocumentScripts() const override; virtual SignatureState getScriptingSignatureState() override; virtual bool hasTrustedScriptingSignature( bool bAllowUIToAddAuthor ) override; - virtual void showBrokenSignatureWarning( const css::uno::Reference< css::task::XInteractionHandler >& _rxInteraction ) const override; // IModifiableDocument virtual void storageIsModified() override; -- cgit