diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2021-04-16 00:27:57 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2021-04-25 22:09:27 +0200 |
commit | e002f82ccfcb8d8b7abad07a62d36a9ac686455f (patch) | |
tree | 45faa9692e06d5dd9b4c6e05ca968441a6e1b3a6 /svx | |
parent | c523da10fbdd54b80439e9594e3e5af78f6e955b (diff) |
Remove .uno:QuestionAnswers, direct safeMode help to landing page
Change-Id: I41a456b838508a7904a81ff858de6dada0ed6824
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/SafeModeDialog.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx index a9054153da31..da8dbd94fa59 100644 --- a/svx/source/dialog/SafeModeDialog.cxx +++ b/svx/source/dialog/SafeModeDialog.cxx @@ -15,6 +15,8 @@ #include <sfx2/safemode.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> +#include <vcl/settings.hxx> +#include <i18nlangtag/languagetag.hxx> #include <comphelper/processfactory.hxx> #include <unotools/ZipPackageHelper.hxx> #include <cppuhelper/exc_hlp.hxx> @@ -89,8 +91,9 @@ SafeModeDialog::SafeModeDialog(weld::Window* pParent) RadioBtnHdl(*mxRadioRestore); // Set URL for help button (module=safemode) - OUString sURL("http://hub.libreoffice.org/send-feedback/?LOversion=" + utl::ConfigManager::getAboutBoxProductVersion() + - "&LOlocale=" + utl::ConfigManager::getUILocale() + "&LOmodule=safemode"); + OUString lang = Application::GetSettings().GetUILanguageTag().getLanguage(); + OUString sURL("https://libreoffice.cib.de/support_%1.html&LOmodule=safemode"); + sURL = sURL.replaceFirst("%1", lang); mxBugLink->set_uri(sURL); mxUserProfileLink->set_uri(comphelper::BackupFileHelper::getUserProfileURL()); |