diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-16 19:55:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-16 22:38:57 +0100 |
commit | 264c3a962e64202984814173baedddedc0716c84 (patch) | |
tree | bced6717615f23cf30d4d9c45752890618fe0b6f | |
parent | 98ec93183fa1151b16ec4f04970e6031cfda9bc9 (diff) |
cid#1545870 Using invalid iterator
Change-Id: I3b09fdee5574e5d3006cc875ce6c0175c0b4e594
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160875
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 8ca5e35d1c84..d5ec969783ca 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2719,7 +2719,7 @@ void SwTabFramePainter::FindStylesForLine( Point& rStartPoint, } SwLineEntryMap::const_iterator aMapIter = maVertLines.find( rStartPoint.X() ); - OSL_ENSURE( aMapIter != maVertLines.end(), "FindStylesForLine: Error" ); + assert(aMapIter != maVertLines.end() && "FindStylesForLine: Error"); const SwLineEntrySet& rVertSet = (*aMapIter).second; for ( const SwLineEntry& rEntry : rVertSet ) |