sfx2/source/doc/docfile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0d5bd921a5a08607ec0b240463eff143f0b52fd0 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Dec 31 12:16:03 2023 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Dec 31 18:52:18 2023 +0100 Replace "size() == 0 with empty()" (sfx2) Change-Id: I6bdb18319e45fbe8641a2ded31e60c2628bb1b67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161468 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index b94d72307176..ff0fa9bf30c3 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -4928,7 +4928,7 @@ void CheckReadOnlyTask::doWork() g_existingReadOnlyDocs[pMed] = roEntry; it = g_newReadOnlyDocs.erase(it); } - if (g_existingReadOnlyDocs.size() == 0) + if (g_existingReadOnlyDocs.empty()) { g_bChkReadOnlyTaskRunning = false; return;