diff options
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 14 | ||||
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index cccc2abc1a..58963ceed2 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -1483,6 +1483,20 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq ) break; } + case SID_OPTIONS_SECURITY: + { + SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); + VclPtr<AbstractSecurityOptionsDialog> pDlg = + pFact->CreateSvxSecurityOptionsDialog(rReq.GetFrameWeld()); + + if (pDlg->Execute() == RET_OK) { + pDlg->SetSecurityOptions(); + } + + pDlg.disposeAndClear(); + break; + } + case SID_MORE_DICTIONARIES: { uno::Sequence<beans::PropertyValue> aArgs{ comphelper::makePropertyValue( diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index b596a4e33e..785872ddee 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -665,6 +665,10 @@ OUString SfxHelp::GetHelpText(const OUString& aCommandURL, const weld::Widget* p OUString SfxHelp::GetURLHelpText(std::u16string_view aURL) { + // hyperlinks are handled differently in Online + if (comphelper::LibreOfficeKit::isActive()) + return OUString(); + bool bCtrlClickHlink = SvtSecurityOptions::IsOptionSet(SvtSecurityOptions::EOption::CtrlClickHyperlink); // "ctrl-click to follow link:" for not MacOS |