https://bugs.documentfoundation.org/show_bug.cgi?id=108064
--- Comment #13 from Adam Kovacs <christo...@gmail.com> ---
One question. Why are these properties in if-else relation? If something has a
color property it cant have a linestyle property?
if (aStyleProperties.hasElements())
619 {
620 for (sal_Int32 i=0; i < aStyleProperties.getLength(); ++i)
621 {
622 if( aStyleProperties[i].Name == "Color" )
623 aStyleProperties[i].Value >>= nStyleColor;
624 else if( aStyleProperties[i].Name == "LineStyle" )
625 aStyleProperties[i].Value >>= aStyleLineStyle;
626 else if( aStyleProperties[i].Name == "LineJoint" )
627 aStyleProperties[i].Value >>= aStyleLineJoint;
628 else if( aStyleProperties[i].Name == "LineWidth" )
629 aStyleProperties[i].Value >>= nStyleLineWidth;
630 }
631 }
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs