summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-12-31 12:23:51 +0100
committerJulien Nabet <serval2412@yahoo.fr>2024-01-01 13:19:17 +0100
commit968cb673eb353bd5d19d96498c0d38c00801c8a0 (patch)
tree2ecb24fbba2683c14c151a00227c30ce29e51d5f /desktop
parent3f6396291a044274fd3238c797f3aff4a458fa37 (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
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;