svgio/source/svgreader/svgfilternode.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
New commits: commit c61aeb5b87d1a69745617b1368a86b70d798ba30 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Apr 16 12:31:29 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Apr 17 09:22:44 2024 +0200 svgio: map all 'in' keywords to target for now Change-Id: I18d6c839c4005e4052397c4f6682d78c664d25ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166145 Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svgio/source/svgreader/svgfilternode.cxx b/svgio/source/svgreader/svgfilternode.cxx index 168d7c50d608..5b2f7e867523 100644 --- a/svgio/source/svgreader/svgfilternode.cxx +++ b/svgio/source/svgreader/svgfilternode.cxx @@ -44,7 +44,15 @@ void SvgFilterNode::apply(drawinglayer::primitive2d::Primitive2DContainer& rTarg const sal_uInt32 nCount(rChildren.size()); addGraphicSourceToMapper("SourceGraphic", rTarget); - //TODO: Add SourceAlpha, BackgroundImage, BackgroundAlpha, FillPaint, StrokePaint ?? + + // TODO: For now, map SourceAlpha, BackgroundImage, + // BackgroundAlpha, FillPaint and StrokePaint to rTarget + // so at least something is displayed + addGraphicSourceToMapper("SourceAlpha", rTarget); + addGraphicSourceToMapper("BackgroundImage", rTarget); + addGraphicSourceToMapper("BackgroundAlpha", rTarget); + addGraphicSourceToMapper("FillPaint", rTarget); + addGraphicSourceToMapper("StrokePaint", rTarget); // apply children's filters for (sal_uInt32 a(0); a < nCount; a++)