framework/source/services/autorecovery.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit aeb8a0076cd5ec2836b3dfc1adffcced432f995f Author: Tünde Tóth <toth.tu...@nisz.hu> AuthorDate: Thu May 19 15:14:20 2022 +0200 Commit: László Németh <nem...@numbertext.org> CommitDate: Mon May 23 08:59:45 2022 +0200 tdf#149176 tdf#149178 fix Save autorecovery information.. option Autorecovery information was saved in every 10 minutes, regardless of the "Save Autorecovery information every" setting. Change-Id: I1a52da2fa5febb53c270a8db7472e9a8c0e4c426 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134642 Tested-by: Jenkins Tested-by: László Németh <nem...@numbertext.org> Reviewed-by: László Németh <nem...@numbertext.org> diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index ffc426a21d19..d4b68b11c994 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -96,6 +96,7 @@ #include <unotools/configmgr.hxx> #include <svl/documentlockfile.hxx> #include <tools/urlobj.hxx> +#include <officecfg/Office/Common.hxx> #include <officecfg/Office/Recovery.hxx> #include <officecfg/Setup.hxx> @@ -1751,7 +1752,7 @@ void AutoRecovery::implts_readAutoSaveConfig() implts_openConfig(); // AutoSave [bool] - bool bEnabled(officecfg::Office::Recovery::AutoSave::Enabled::get()); + bool bEnabled(officecfg::Office::Common::Save::Document::AutoSave::get()); /* SAFE */ { osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex); @@ -1779,7 +1780,8 @@ void AutoRecovery::implts_readAutoSaveConfig() } /* SAFE */ // AutoSaveTimeIntervall [int] in min - sal_Int32 nTimeIntervall(officecfg::Office::Recovery::AutoSave::TimeIntervall::get()); + sal_Int32 nTimeIntervall( + officecfg::Office::Common::Save::Document::AutoSaveTimeIntervall::get()); /* SAFE */ { osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);