diff options
author | Kohei Yoshida <kohei@libreoffice.org> | 2021-12-10 22:02:24 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei@libreoffice.org> | 2021-12-16 04:45:04 +0100 |
commit | aadbac5467bb6ab768f87ed6ec003c55159d54aa (patch) | |
tree | f0ba41d22e9eeb8534dab6ddbeed98cdcb6295cf /sc | |
parent | deea3b7471c3dab0220eca6146c225a2d47681a2 (diff) |
Update liborcus to 0.17.2.
Change-Id: I76c0d57da63c1e35f80b13071793dbbb27cb218a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126655
Tested-by: Jenkins
Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 674c2cfe7c8f..f5f2fd8a11c0 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -1725,16 +1725,15 @@ void ScOrcusStyles::set_font_underline_color(orcus::spreadsheet::color_elem_t al orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) { - maCurrentFont.maUnderlineColor = Color(ColorTransparency, alpha, red, green, blue); + maCurrentFont.maUnderlineColor = Color(ColorAlpha, alpha, red, green, blue); } -void ScOrcusStyles::set_font_color(orcus::spreadsheet::color_elem_t /*alpha*/, +void ScOrcusStyles::set_font_color(orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) { - // Ignore the alpha value for now. - maCurrentFont.maColor = Color(red, green, blue); + maCurrentFont.maColor = Color(ColorAlpha, alpha, red, green, blue); maCurrentFont.mbHasFontAttr = true; } |