diff options
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 9c4727447c3f..108375385848 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<GetDots();a++) + for (a = 0; a < GetDashes(); a++) { - rDotDashArray[nIns++] = fSingleDotLen; - fFullDotDashLen += fSingleDotLen; + rDotDashArray[nIns++] = fSingleDashLen; + fFullDotDashLen += fSingleDashLen; rDotDashArray[nIns++] = fDashDotDistance; fFullDotDashLen += fDashDotDistance; } - 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; } |