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

New commits:
commit 602cb51fd96689daa095f6f7928b28327fcb9ebb
Author:     Masayuki Iizuka <[email protected]>
AuthorDate: Thu Jan 15 16:15:23 2026 +0000
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Sat Jan 17 08:33:56 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/+/197448
    Reviewed-by: Xisco Fauli <[email protected]>
    Reviewed-by: Saburo Yoshida <[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