diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/table/predefined-table-styles.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/table/predefined-table-styles.cxx b/oox/source/drawingml/table/predefined-table-styles.cxx index 4a8aec4cef1a..ea68911112a0 100644 --- a/oox/source/drawingml/table/predefined-table-styles.cxx +++ b/oox/source/drawingml/table/predefined-table-styles.cxx @@ -516,11 +516,11 @@ std::unique_ptr<TableStyle> CreateTableStyle(const OUString& styleId) } else if (style_name == "Themed-Style-2") { - wholeTblTextColor.setSchemeClr(XML_lt1); - firstRowTextColor.setSchemeClr(XML_lt1); - if (!accent_name.isEmpty()) { + wholeTblTextColor.setSchemeClr(XML_lt1); + firstRowTextColor.setSchemeClr(XML_lt1); + accent_val = tokens[mStyleIdMap[styleId].second]; pTblBgFillProperties->maFillColor.setSchemeClr(accent_val); |