diff options
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; |