diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-12-04 18:03:27 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-12-04 19:21:31 +0100 |
commit | bc95ece0618b9886890d9c758b9d0ebc0fc41c69 (patch) | |
tree | a5e918591c4e8f82aab70c42032ff15b6ce609ad /oox | |
parent | 22e1cdd3a2fc142fc5313e1dba942810c7e91f95 (diff) |
cid#1546021 Using invalid iterator
and :
cid#1545983 Using invalid iterator
cid#1545969 Using invalid iterator
cid#1545949 Using invalid iterator
cid#1545929 Using invalid iterator
cid#1545911 Using invalid iterator
cid#1545910 Using invalid iterator
cid#1545886 Using invalid iterator
cid#1545870 Using invalid iterator
cid#1545813 Using invalid iterator
Change-Id: I2ad10c2a9affd348050a4abe0917a90927a52547
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160317
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/texteffectscontext.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/drawingml/texteffectscontext.cxx b/oox/source/drawingml/texteffectscontext.cxx index 0e33a4c3c13b..347971f4616b 100644 --- a/oox/source/drawingml/texteffectscontext.cxx +++ b/oox/source/drawingml/texteffectscontext.cxx @@ -91,8 +91,9 @@ OUString const & lclGetGrabBagName(sal_uInt32 aId) { OOX_TOKEN(w14, stylisticSets), "CharStylisticSetsTextEffect" }, { OOX_TOKEN(w14, cntxtAlts) , "CharCntxtAltsTextEffect" }, }; - - return aGrabBagNameMap.find(aId)->second; + const auto iter = aGrabBagNameMap.find(aId); + assert(iter != aGrabBagNameMap.end()); + return iter->second; } } |