svgio/source/svgreader/svgstyleattributes.cxx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-)
New commits: commit 1250acb00fbafb1afaa2d49c627feb9f07f60c3c Author: Xisco Fauli <[email protected]> Date: Tue Apr 12 08:06:15 2016 +0200 SVG: actually this code is unnecessary after... ... f5d4a688346a939a58b1df69d771dede177b3370 Change-Id: I2911763c38a6be275bcd7ae0c9a51cd7a2e9fe4a Reviewed-on: https://gerrit.libreoffice.org/24012 Tested-by: Jenkins <[email protected]> Reviewed-by: Xisco Faulà <[email protected]> diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 78207b5..1a5b279 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -1957,19 +1957,7 @@ namespace svgio const basegfx::BColor* SvgStyleAttributes::getFill() const { - if((SVGTokenMarker == mrOwner.getType()) && !maFill.isSet()) - { - const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle(); - - if(pSvgStyleAttributes) - { - return pSvgStyleAttributes->getFill(); - } - - static basegfx::BColor aBlack(0.0, 0.0, 0.0); - return &aBlack; - } - else if(maFill.isSet()) + if(maFill.isSet()) { if(maFill.isCurrent()) {
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
