diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-01-05 12:32:02 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-01-13 13:44:20 +0000 |
commit | 1a79594a27f41ad369e7c387c51e00afb1352872 (patch) | |
tree | ef14a2323ce44d1fab72bf79d94141cd608fe24a | |
parent | 3eb53d327fb5d9689b799ff991a6c53c05eff496 (diff) |
ooxml: fix theme color type mapping: bg -> light, text -> dark
Change-Id: I19ad3ef7c911943075d7ddc01626047cdf11d5db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145070
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r-- | writerfilter/source/dmapper/TDefTableHandler.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/writerfilter/source/dmapper/TDefTableHandler.cxx b/writerfilter/source/dmapper/TDefTableHandler.cxx index 4d279ac4bc12..b8e0582de033 100644 --- a/writerfilter/source/dmapper/TDefTableHandler.cxx +++ b/writerfilter/source/dmapper/TDefTableHandler.cxx @@ -300,13 +300,13 @@ model::ThemeColorType TDefTableHandler::getThemeColorTypeIndex(sal_Int32 nType) case NS_ooxml::LN_Value_St_ThemeColor_none: return model::ThemeColorType::Unknown; case NS_ooxml::LN_Value_St_ThemeColor_background1: - return model::ThemeColorType::Dark1; - case NS_ooxml::LN_Value_St_ThemeColor_text1: return model::ThemeColorType::Light1; + case NS_ooxml::LN_Value_St_ThemeColor_text1: + return model::ThemeColorType::Dark1; case NS_ooxml::LN_Value_St_ThemeColor_background2: - return model::ThemeColorType::Dark2; - case NS_ooxml::LN_Value_St_ThemeColor_text2: return model::ThemeColorType::Light2; + case NS_ooxml::LN_Value_St_ThemeColor_text2: + return model::ThemeColorType::Dark2; default: break; } |