desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 968cb673eb353bd5d19d96498c0d38c00801c8a0
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Dec 31 12:23:51 2023 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Mon Jan 1 13:19:17 2024 +0100

    Replace "size() != 0 with !empty()" (desktop)
    
    Change-Id: I164e29ed02fc4abf7a5b03ca0c391fb46b60e4f4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161483
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 4b1658d95e20..cc3139fcd22e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -4564,7 +4564,7 @@ static void doc_registerCallback(LibreOfficeKitDocument* 
pThis,
             
pViewShell->setLibreOfficeKitViewCallback(pDocument->mpCallbackFlushHandlers[nView].get());
         }
 
-        if (pDocument->maFontsMissing.size() != 0)
+        if (!pDocument->maFontsMissing.empty())
         {
             OString sPayload = "{ \"fontsmissing\": [ "_ostr;
             bool bFirst = true;

Reply via email to