https://bugs.documentfoundation.org/show_bug.cgi?id=169933

--- Comment #4 from Saburo <[email protected]> ---
Some PDF readers may not display the lines.

(In reply to shinbird from comment #0)
> 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;
> ```

The above fix seems to be correct.

Could you please submit a corresponding change to Gerrit?

https://wiki.documentfoundation.org/Development/GetInvolved

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to