vcl/source/gdi/graphictools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d0a8eb2580e52906ed1a72a0bbaecbb6df18976
Author:     Masayuki Iizuka <[email protected]>
AuthorDate: Thu Jan 15 16:15:23 2026 +0000
Commit:     Xisco Fauli <[email protected]>
CommitDate: Fri Jan 16 23:18:26 2026 +0100

    tdf#169933 Fix unwanted conversion of dashed and dotted lines
    
    to solid ones in PDF output
    
    Change-Id: I90c104988cd4fc83fa4b83a94671de9fe73edff0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197373
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <[email protected]>
    Reviewed-by: Ilmari Lauhakangas <[email protected]>
    (cherry picked from commit 561c7438870685baf94cad28b220dcc6a15c6ac1)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197447
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/vcl/source/gdi/graphictools.cxx b/vcl/source/gdi/graphictools.cxx
index c0aeed2b0290..52f5e915fd14 100644
--- a/vcl/source/gdi/graphictools.cxx
+++ b/vcl/source/gdi/graphictools.cxx
@@ -149,7 +149,7 @@ SvStream& ReadSvtGraphicStroke( SvStream& rIStm, 
SvtGraphicStroke& rClass )
     sal_uInt32 nSize;
     rIStm.ReadUInt32( nSize );
     rClass.maDashArray.resize(nSize);
-    for (double dash : rClass.maDashArray)
+    for (double& dash : rClass.maDashArray)
         rIStm.ReadDouble(dash);
 
     return rIStm;

Reply via email to