summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJuergen Funk <juergen.funk_ml@cib.de>2022-03-21 09:38:51 +0100
committerJuergen Funk <juergen.funk_ml@cib.de>2022-03-22 13:27:56 +0100
commit846c3ce7a2aa2a87399edb57ee858720ec837fb8 (patch)
tree8dfb7494e819af6c2d76566207d43929543b251f /framework
parent6c5257b680044514debc1dde1267ab985ef4548c (diff)
Solve exception in implts_flushConfigItem
Regression from 4256c764aee0777770466115a97420d9b55c23ac in framework/source/services/autorecovery.cxx in line 1997 sloved the exception Change-Id: I4bee90b94307978c9c5186c1c5fdaca1aa420e21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131901 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/autorecovery.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index ae2188466898..131c104dcba9 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -1992,7 +1992,7 @@ void AutoRecovery::implts_flushConfigItem(const AutoRecovery::TDocumentInfo& rIn
implts_openConfig();
css::uno::Reference<css::container::XNameAccess> xCheck(
- officecfg::Office::Recovery::RecoveryList::get());
+ officecfg::Office::Recovery::RecoveryList::get(batch));
css::uno::Reference< css::container::XNameContainer > xModify(xCheck, css::uno::UNO_QUERY_THROW);
css::uno::Reference< css::lang::XSingleServiceFactory > xCreate(xCheck, css::uno::UNO_QUERY_THROW);