diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-08-08 15:44:50 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-08-08 16:57:49 +0200 |
commit | 8387a6db641b29e6ff3c2f4cdc4688f538cbe35f (patch) | |
tree | 30e4c786664da997248940717b956bd1abc05b90 /svx | |
parent | 21a792f1756a1370476e66538e821e402df83799 (diff) |
Revert "tdf#126741 - fix dash dot dot line style display"
This reverts commit 0b2e052238e87faf5b76fe89ed1e10b20c5a3eaa.
Change-Id: Iccb1ed4549e9f8b98ecd1cf769fe583869fa2452
Reviewed-on: https://gerrit.libreoffice.org/77154
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 108375385848..9c4727447c3f 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -554,18 +554,18 @@ double XDash::CreateDotDashArray(::std::vector< double >& rDotDashArray, double } } - for (a = 0; a < GetDashes(); a++) + for(a=0;a<GetDots();a++) { - rDotDashArray[nIns++] = fSingleDashLen; - fFullDotDashLen += fSingleDashLen; + rDotDashArray[nIns++] = fSingleDotLen; + fFullDotDashLen += fSingleDotLen; rDotDashArray[nIns++] = fDashDotDistance; fFullDotDashLen += fDashDotDistance; } - for(a=0;a<GetDots();a++) + for(a=0;a<GetDashes();a++) { - rDotDashArray[nIns++] = fSingleDotLen; - fFullDotDashLen += fSingleDotLen; + rDotDashArray[nIns++] = fSingleDashLen; + fFullDotDashLen += fSingleDashLen; rDotDashArray[nIns++] = fDashDotDistance; fFullDotDashLen += fDashDotDistance; } |