summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/services/autorecovery.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index f325a45788a2..7bdf5f094b30 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2662,7 +2662,8 @@ void AutoRecovery::implts_markDocumentAsSaved(const css::uno::Reference< css::fr
} /* SAFE */
- implts_flushConfigItem(aInfo);
+ // no need to recover a saved document until modified and new recovery file is created
+ implts_flushConfigItem(aInfo, /*bRemoveIt=*/true);
aCacheLock.unlock();