From cb09069696a71ed8f676079f7b7f26049e4d73f4 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Fri, 15 May 2026 00:01:11 +0200 Subject: [PATCH] tdf#172076: Animated PNG - Image filter not found Everything was already there, there was just last element missing Change-Id: Ide157ed9f6bded1ac91d49589373d06f7f1bf2c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205210 Tested-by: Jenkins Reviewed-by: Julien Nabet --- vcl/source/filter/graphicfilter.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 4664fdeb61e8..14f648c7e661 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -927,6 +927,10 @@ ErrCode GraphicFilter::readPNG(SvStream & rStream, Graphic& rGraphic, GfxLinkTyp rGraphic = Graphic(*aImportOutput.moBitmap); rLinkType = GfxLinkType::NativePng; } + else if (aImportOutput.moAnimation) { + rGraphic = Graphic(*aImportOutput.moAnimation); + rLinkType = GfxLinkType::NativePng; + } else aReturnCode = ERRCODE_GRFILTER_FILTERERROR;