diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-07-24 22:18:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-25 09:06:38 +0200 |
commit | 9117fb44bc7bd6b8764911c731c84a9e5dcc37f0 (patch) | |
tree | 9ae340801e5becad5ebd8a098d2d763bc407eecc /sfx2/source/appl/appserv.cxx | |
parent | d5b9283985633fdb423269cab961bba2acc3539e (diff) |
use officecfg for help options
Change-Id: I2d19541cff07bf8159715d8f32d771cbf201ece4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119475
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/appserv.cxx')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index e61cd7f510df..b0e08c424563 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -67,7 +67,6 @@ #include <vcl/toolbox.hxx> #include <unotools/moduleoptions.hxx> -#include <svtools/helpopt.hxx> #include <rtl/bootstrap.hxx> #include <com/sun/star/frame/ModuleManager.hpp> @@ -578,7 +577,9 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) Help::EnableQuickHelp(); else Help::DisableQuickHelp(); - SvtHelpOptions().SetHelpTips( bOn ); + auto xChanges = comphelper::ConfigurationChanges::create(); + officecfg::Office::Common::Help::Tip::set(bOn, xChanges); + xChanges->commit(); Invalidate(SID_HELPTIPS); bDone = true; @@ -605,7 +606,9 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) Help::EnableBalloonHelp(); else Help::DisableBalloonHelp(); - SvtHelpOptions().SetExtendedHelp( bOn ); + auto xChanges = comphelper::ConfigurationChanges::create(); + officecfg::Office::Common::Help::ExtendedTip::set(bOn, xChanges); + xChanges->commit(); Invalidate(SID_HELPBALLOONS); bDone = true; |