cid#1456609 Operands don't affect result
commit354d7ec99900ef5c17ac340e54b815c395dfb0a4
authorCaolán McNamara <caolanm@redhat.com>
Fri, 3 Jan 2020 20:26:24 +0000 (3 20:26 +0000)
committerCaolán McNamara <caolanm@redhat.com>
Sat, 4 Jan 2020 14:31:03 +0000 (4 15:31 +0100)
tree258da6b99986c7fff49ddcfd2411cd2ce7385933
parent05150f1a61331de2a687855df41c406cd49fe38f
cid#1456609 Operands don't affect result

2.2.2.37 EmfPlusPointR Object has...

"X (variable) This value MUST be specified by either an EmfPlusInteger7 object
or an EmfPlusInteger15 object." and the same for Y. where variable is variable
length.

I think ReadInt32 isn't the right choice here and we need to read either one or
two bytes, using the highbit of the first byte to determine if we need to
read another byte.

Change-Id: I60c0687403ff58dc393bd55a22f37c89357f60c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86207
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
drawinglayer/source/tools/emfppath.cxx