diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-12-04 11:31:36 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-12-04 18:00:43 +0100 |
commit | b50da6f3a9109fc1d4468c15aa7d5c68773ec199 (patch) | |
tree | e789d75d5457c4a3386e70cef341cac2b2477730 /sw | |
parent | 1597968f5cd2534fb6e0be40fafecc305a004f4e (diff) |
cid#1546275 Using invalid iterator
and :
cid#1546219 Using invalid iterator
cid#1546088 Using invalid iterator
cid#1546070 Using invalid iterator
cid#1546061 Using invalid iterator
cid#1546055 Using invalid iterator
cid#1546049 Using invalid iterator
Change-Id: I6f3a786852b5c262d60c3195e446a37967ed9b59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160311
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 8949ffe58a77..d84549d43066 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -315,7 +315,9 @@ void lclAddThemeValuesToCustomAttributes( if (rComplexColor.isValidThemeType()) { - OString sSchemeType = constThemeColorTypeTokenMap.find(rComplexColor.getThemeColorType())->second; + const auto iter = constThemeColorTypeTokenMap.find(rComplexColor.getThemeColorType()); + assert(iter != constThemeColorTypeTokenMap.end()); + OString sSchemeType = iter->second; if (rComplexColor.getThemeColorUsage() == model::ThemeColorUsage::Text) { if (rComplexColor.getThemeColorType() == model::ThemeColorType::Dark1) |