| commit | b8c5236b444a9fbb1d419b95faf2ab2a71913efe | [log] |
|---|---|---|
| author | László Németh <nemeth@numbertext.org> | Wed Apr 21 22:34:52 2021 +0200 |
| committer | László Németh <nemeth@numbertext.org> | Wed May 05 13:47:04 2021 +0200 |
| tree | e278fed1d7498a2cd9d3c441de94c19b5bc85568 | |
| parent | b9b2c6a98fec798fc0ec76ec3cd407724f19dcac [diff] |
tdf#141934 svx dialog: fix missing dots in line style preview Line styles with dot-like dots (e.g the new "rounded" preset line styles) got bad preview with missing dots in the line style popup menus. Follow-up to commit b9b2c6a98fec798fc0ec76ec3cd407724f19dcac "tdf#141933 add preset dash styles with round cap". Change-Id: I0d18feb2772a47588b41dea2138cdcb14332c8b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114460 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 787a8e9..4d0cac9 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx
@@ -115,6 +115,9 @@ BitmapEx XDashList::ImpCreateBitmapForXDash(const XDash* pDash) for(double & a : aDotDashArray) { a *= fScaleValue; // ~zero length dash is a dot-like dot (with line width size round cap), so show it if (a < 0.1) a += 1.0; } fFullDotDashLen *= fScaleValue;