Kaydet (Commit) 6efdcc4c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix assert when opening a calc document in new orcus styles import

Change-Id: I6e62ddaeb20687bf3ad3e7de86f749e1047363b9
üst 99dfc082
......@@ -797,8 +797,9 @@ void ScOrcusStyles::font::applyToItemSet(SfxItemSet& rSet) const
if (mbHasUnderlineAttr)
{
rSet.Put(SvxUnderlineItem(meUnderline, ATTR_FONT_UNDERLINE));
rSet.Put(SvxColorItem(maUnderlineColor, ATTR_FONT_UNDERLINE));
SvxUnderlineItem aUnderline(meUnderline, ATTR_FONT_UNDERLINE);
aUnderline.SetColor(maUnderlineColor);
rSet.Put(aUnderline);
}
rSet.Put( SvxColorItem(maColor, ATTR_FONT_COLOR));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment