summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-03-12 11:09:29 -0400
committerAndras Timar <andras.timar@collabora.com>2019-03-12 16:43:02 +0100
commit0c80a474fa9853c173cdff57a200aec78eea5d73 (patch)
tree5f1ba11b1e70c3910041c2b880b7231eb3858831 /vcl/source/control/button.cxx
parent86d07d01697ff000fdffbfacb7dab6509a7d5279 (diff)
Move the Help URL to a different config path
This partially reverts e5a0bafa330c58d6c9352d3acbe4e97fafa1ad56 and simplifies the Help URL configuration. Change-Id: Icc7c31b8955f3df978b57dbd8aa8816a9e1f98ad Reviewed-on: https://gerrit.libreoffice.org/69106 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 6e44e13bc67b..ecffa1cf5722 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -46,6 +46,7 @@
#include <comphelper/dispatchcommand.hxx>
#include <comphelper/lok.hxx>
+#include <officecfg/Office/Common.hxx>
using namespace css;
@@ -1816,7 +1817,7 @@ void HelpButton::StateChanged( StateChangedType nStateChange )
{
// Hide when we have no help URL.
if (comphelper::LibreOfficeKit::isActive() &&
- Application::GetSettings().GetHelpSettings().GetHelpURL().isEmpty())
+ officecfg::Office::Common::Help::HelpRootURL::get().isEmpty())
Hide();
else
PushButton::StateChanged(nStateChange);