diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2021-01-23 20:43:43 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-31 11:32:37 +0100 |
commit | 167f4edc54bca5f62f098dcff2bff3cce4a51c58 (patch) | |
tree | 566dce76ee8e6425da6a9980d0685e8f03f55df7 /icon-themes | |
parent | 7aaf6a3120f0a5ac4487468f6aa3d00bdcd3a573 (diff) |
basegfx::utils::applyLineDashing simplify !aLineTargetCallBack checks
cppcheck points out that there's an early check and return
for !aLineTargetCallback:
if(fTools::lessOrEqual(fDotDashLength, 0.0) || !aLineTargetCallback || !nPointCount)
{
....
return;
}
so we don't need to test it later.
Change-Id: I93fead38ced03ad52c6a81701902cf9deda3bb58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109847
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'icon-themes')
0 files changed, 0 insertions, 0 deletions