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 <serval2412@yahoo.fr>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user