diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-09-29 12:00:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-29 18:05:05 +0200 |
commit | c2aad1b6b7e5c7976969824bb8707483333d9f24 (patch) | |
tree | 51decbbf60df51e12cb983ff38428bfaa6ba2429 | |
parent | 5ea219eb86ce2520bcfea8d92afd1ffb54bd9c31 (diff) |
cid#1606889 Overflowed constant
Change-Id: I5c0b458aca0ffc1b16eba31ace4039cd359160f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174178
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 91a4456989cb..a4276e7daba9 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -790,6 +790,7 @@ void ImpEditEngine::ParaAttribsChanged( ContentNode const * pNode, bool bIgnoreU pPortion->MarkSelectionInvalid( 0 ); sal_Int32 nPara = maEditDoc.GetPos( pNode ); + assert( nPara != EE_PARA_NOT_FOUND ); if (bIgnoreUndoCheck || mpEditEngine->IsInUndo()) mpEditEngine->ParaAttribsChanged( nPara ); |