diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-28 09:20:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-28 10:21:00 +0100 |
commit | 6849b3a1593f56790ad22a050d60ec15333ce9af (patch) | |
tree | 8d61c9d21352cb4cba561f4c4b9a3d9da0f17a63 /chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx | |
parent | a74a4236e4f4cc957123a9417c7da99b2699b242 (diff) |
checked signedness of Sfx*IntItem types (part2)
See comments here
https://lists.freedesktop.org/archives/libreoffice/2022-January/088360.html
Make SfxItemSet::GetItemState check the type of the ppItem pointer
using TypedWhichId the same way we do for other calls.
Take the opportunity to name the new method GetItemIfSet and change
the signature to reduce the boilerplate at call sites..
This is just the initial commit, the bulk of the patch (the actual usage)
will be split into lots of smaller patches to aid bisecting for
bugs.
Change-Id: I6704059331787c8776f786af764b4ba3478a307b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128908
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx')
0 files changed, 0 insertions, 0 deletions