diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-17 09:04:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-19 14:48:58 +0200 |
commit | 54f47ae4eb13d5342f7ef48ddf7ead5f792544d0 (patch) | |
tree | 22d9c476cedd32343f2ff4befb1179e2f063382e /sw | |
parent | baf179188d8b9e29188387fd4b7d887dd3168792 (diff) |
cid#1608219 silence Overflowed constant
and
cid#1608307 Overflowed constant
cid#1606687 Overflowed integer argument
Change-Id: I043f3e49810ca441453af88866a1156f47e6cd87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175177
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/table/swtable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index 8fb34eb88f6b..0b91e902413a 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -1210,7 +1210,7 @@ void SwTable::NewSetTabCols( Parm &rParm, const SwTabCols &rNew, ColChange aChg( 0, 0 ); aOldNew.push_front( aChg ); std::vector<sal_uInt16> aRowSpanPos; - if( nCurr ) + if (nCurr > 0) { ChangeList aCopy; sal_uInt16 nPos = 0; |