summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorAdoche Onaji <dochieonaji@gmail.com>2023-03-11 19:14:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-03-22 07:10:36 +0000
commitb1dc8d302f5a7c7b8f69261f86ff01377a910c68 (patch)
treeff928ffafe00b1dfbad6a0a65f7643ef74de4966 /svx/source
parent1983695a64c27894fb76bc33bcdc4a2ed9813fc8 (diff)
tdf#38890 Remove hard-coded URLs in source Files
Project URLs are extracted to the Common.xcu files and read in the source files. Change-Id: I0da72ff033af6c155195b2f91177e7bf7d554daa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149115 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/SafeModeDialog.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx
index b499ae3d5911..5aaa30e437cf 100644
--- a/svx/source/dialog/SafeModeDialog.cxx
+++ b/svx/source/dialog/SafeModeDialog.cxx
@@ -19,6 +19,7 @@
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <svx/FileExportedDialog.hxx>
+#include <officecfg/Office/Common.hxx>
#include <com/sun/star/task/OfficeRestartManager.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
@@ -82,7 +83,8 @@ 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() +
+ OUString sURL(officecfg::Office::Common::Menus::SendFeedbackURL::get() //officecfg/registry/data/org/openoffice/Office/Common.xcu => https://hub.libreoffice.org/send-feedback/
+ + "?LOversion=" + utl::ConfigManager::getAboutBoxProductVersion() +
"&LOlocale=" + utl::ConfigManager::getUILocale() + "&LOmodule=safemode");
mxBugLink->set_uri(sURL);