diff options
author | Tor Lillqvist <tml@collabora.com> | 2022-08-25 13:27:32 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2022-08-25 13:39:56 +0200 |
commit | 2654a29a359e50029965054d187de550a795fb69 (patch) | |
tree | 4175cb5d121182c3c4118348a377e9515899a607 /desktop | |
parent | 83e53d664f3c4a476e6e855119b019a2ae691a7c (diff) |
Fix thinko
Change-Id: I0cfd501189275ad5558e6ceeb0fb479b4d2e5835
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138804
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a987ad548d64..be7bcd9b0b0f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3853,7 +3853,9 @@ static void doc_registerCallback(LibreOfficeKitDocument* pThis, bool bFirst = true; for (const auto &f : pDocument->maFontsMissing) { - if (!bFirst) + if (bFirst) + bFirst = false; + else sPayload += ", "; sPayload += "\"" + std::string(f.toUtf8().getStr()) + "\""; } |