summaryrefslogtreecommitdiff
path: root/uui/source/secmacrowarnings.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/secmacrowarnings.cxx')
-rw-r--r--uui/source/secmacrowarnings.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 7a657d03ca2d..90d76d75e6ce 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -20,6 +20,7 @@
#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
#include <comphelper/processfactory.hxx>
+#include <vcl/svapp.hxx>
#include <osl/file.h>
#include <rtl/ustrbuf.hxx>
#include <tools/debug.hxx>
@@ -75,6 +76,12 @@ MacroWarning::MacroWarning(weld::Window* pParent, bool _bWithSignatures)
mxEnableBtn->connect_clicked(LINK(this, MacroWarning, EnableBtnHdl));
mxDisableBtn->connect_clicked(LINK(this, MacroWarning, DisableBtnHdl));
mxDisableBtn->grab_focus(); // Default button, but focus is on view button
+ m_xDialog->SetInstallLOKNotifierHdl(LINK(this, MacroWarning, InstallLOKNotifierHdl));
+}
+
+IMPL_STATIC_LINK_NOARG(MacroWarning, InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*)
+{
+ return GetpApp();
}
void MacroWarning::SetDocumentURL( const OUString& rDocURL )