diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-06-04 09:48:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-06-05 16:56:55 +0200 |
commit | 367ba88092fbc0ba06a7f77157cd012ff0fe3caf (patch) | |
tree | e727f2f3494c547776d5ec2d73e03a2c88dc7cc3 /svl | |
parent | 4cd2737d829e8a3413ad3d60a17dded4dcc8938c (diff) |
Related: tdf#153008 bump XFillBmpPosOffsetXItem to sal_Int32
and XFillBmpPosOffsetYItem. To avoid sal_uInt16 overflows on large input
values.
Lets use sal_Int32 instead of sal_uInt32 given the amount of existing
casting to sal_Int32 of XFillBmpPosOffset[X|Y]Item::GetValue()
Change-Id: I8329c11b75c9ad01011e10130257963737ffe553
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168398
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Attila Szűcs <attila.szucs@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/poolitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index de207ef9db25..bd4b62cb1419 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -161,8 +161,8 @@ // class Svx3DShadeModeItem : public SfxUInt16Item // class SdrEdgeLineDeltaCountItem: public SfxUInt16Item // class SvxViewLayoutItem: public SfxUInt16Item -// class XFillBmpPosOffsetXItem : public SfxUInt16Item -// class XFillBmpPosOffsetYItem : public SfxUInt16Item +// class XFillBmpPosOffsetXItem : public SfxInt32Item +// class XFillBmpPosOffsetYItem : public SfxInt32Item // class XFillBmpTileOffsetXItem : public SfxUInt16Item // class XFillBmpTileOffsetYItem : public SfxUInt16Item // class XFillTransparenceItem: public SfxUInt16Item |