vcl/source/gdi/CommonSalLayout.cxx | 1 - 1 file changed, 1 deletion(-)
New commits: commit 3a2f60a92ee16dbe783a6e24549f7d6a01db1dbe Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Sep 1 16:05:50 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Sep 1 20:50:46 2022 +0200 Revert "cid#513473 Division or modulo by zero" This reverts commit 18a0c0c690eaa0df804cd2e3040c433ffd886275. already fixed by a9aea4bb0d272ba0c2c8cb83714a2a8171297af6 Change-Id: I6ca69b1e56fd7a2fafe51eadfcc057b44c30ebcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139176 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index d802070aa6c7..70bfb07aea8a 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -672,7 +672,6 @@ void GenericSalLayout::GetCharWidths(std::vector<DeviceCoordinate>& rCharWidths, css::i18n::CharacterIteratorMode::SKIPCELL, 1, nDone); nGraphemeCount++; } - assert(nGraphemeCount > 0); // keep coverity happy if (!nGraphemeCount) continue;