[Libreoffice-commits] core.git: svx/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 8 14:58:44 UTC 2019


 svx/source/xoutdev/xattr.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 8387a6db641b29e6ff3c2f4cdc4688f538cbe35f
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Aug 8 15:44:50 2019 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Thu Aug 8 16:57:49 2019 +0200

    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 at cib.de>

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;
     }


More information about the Libreoffice-commits mailing list