diff options
author | Justin Luth <justin.luth@collabora.com> | 2021-04-12 08:13:53 +0200 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2021-04-19 10:25:37 +0200 |
commit | 531993161d6fe8065436191666cc88d7c4c20749 (patch) | |
tree | f271a16a8aeb3e6a6517882537d5a0068e01ddb2 /sw/UITest_sw_sidebar.mk | |
parent | 4df2b8274af74058683c5a9cef8620fb083998fa (diff) |
cid#1476017 Read_GrafLayer's subfunction params are never null
A more comprehensive backtrack of pRecord shows that it
was never null in this context
(and might as well do the same for any other
never-null-variables in these sub-functions).
I also took pains to (most of the time)
clang-format the lines that I modified.
I'm not sure how some subfunctions
(like SetAttributesAtGrfNode)
get away with no errors when they are passed a pointer,
but never check if it exists. Perhaps if you use it
without ever checking it accepts that?
Change-Id: Iaaacd142310340d1f54af4eb61d856d61df0dd50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113990
Tested-by: Jenkins
Tested-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw/UITest_sw_sidebar.mk')
0 files changed, 0 insertions, 0 deletions