On Wed, 2020-03-04 at 23:04 +0100, Michal Sudolsky wrote:
> Attached patch fixes cases where podofo expects only direct objects
> but they can be also indirect. This is mostly done by replacing
> "GetDictionaty().GetKey(...)" with GetIndirectKey or
> MustGetIndirectKey. This change should be backward compatible because
> in cases GetIndirectKey or MustGetIndirectKey throws in addition
> (when key value is reference and either referenced object does not
> exists or dictionary does not have owner) then old code would return
> this reference and subsequent code typically in form "obj-
> >Get[Name/Array/String/...etc]" would throw also. Or in other cases
> avoids what would be invalid and failed later either.

        Hi,
thanks for the patch, I only briefly scanned it and it looked fine (it
also built and unit tests passed with it), thus I committed it as r2005:
http://sourceforge.net/p/podofo/code/2005

It will be appreciated, if you'd like to continue with the other work
you mentioned in your original mail.
        Thanks and bye,
        zyx



_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to