diff options
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/button.cxx | 3 |
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); |