diff --git a/svx/CppunitTest_svx_dialogs_test.mk b/svx/CppunitTest_svx_dialogs_test.mk index efc2903b2201..926e0747c6c2 100644 --- a/svx/CppunitTest_svx_dialogs_test.mk +++ b/svx/CppunitTest_svx_dialogs_test.mk @@ -23,6 +23,10 @@ $(eval $(call gb_CppunitTest_set_include,svx_dialogs_test,\ $$(INCLUDE) \ )) +$(eval $(call gb_CppunitTest_use_custom_headers,svx_dialogs_test,\ + officecfg/registry \ +)) + $(eval $(call gb_CppunitTest_use_libraries,svx_dialogs_test, \ basegfx \ comphelper \ 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 #include #include +#include #include #include @@ -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);