actualizacion-master-2024-12-09 #6
1 changed files with 7 additions and 5 deletions
|
@ -1357,12 +1357,14 @@ void SwTextPaintInfo::DrawCSDFHighlighting(const SwLinePortion &rPor) const
|
|||
OUString sCharStyleDisplayName;
|
||||
sCharStyleDisplayName = SwStyleNameMapper::GetUIName(sCurrentCharStyle,
|
||||
SwGetPoolIdFromName::ChrFmt);
|
||||
if (!sCharStyleDisplayName.isEmpty()
|
||||
&& rCharStylesColorMap.find(sCharStyleDisplayName)
|
||||
!= rCharStylesColorMap.end())
|
||||
if (!sCharStyleDisplayName.isEmpty())
|
||||
{
|
||||
aFillColor = rCharStylesColorMap[sCharStyleDisplayName].first;
|
||||
sCSNumberOrDF = OUString::number(rCharStylesColorMap[sCharStyleDisplayName].second);
|
||||
auto it = rCharStylesColorMap.find(sCharStyleDisplayName);
|
||||
if (it != rCharStylesColorMap.end())
|
||||
{
|
||||
aFillColor = it->second.first;
|
||||
sCSNumberOrDF = OUString::number(it->second.second);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue