summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-23 15:24:04 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-09 18:48:44 +0100
commitf69f358a20b17194a1d043c9385d012608b19933 (patch)
treed6efc412bcd411dfe19b01a6d08800514add971b
parent5c18a077ba7150c3bca82d3990b59f68442c315a (diff)
import font color correctly
Change-Id: I7996da193d24e81a625070ddfc7d17311af38774
-rw-r--r--sc/source/filter/orcus/interface.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 875f47c31f9f..f82996e5f83f 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -522,11 +522,12 @@ void ScOrcusStyles::set_font_underline(orcus::spreadsheet::underline_t /*e*/)
{
}
-void ScOrcusStyles::set_font_color(orcus::spreadsheet::color_elem_t,
- orcus::spreadsheet::color_elem_t,
- orcus::spreadsheet::color_elem_t,
- orcus::spreadsheet::color_elem_t)
+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)
{
+ maCurrentFont.maColor = Color(alpha, red, green, blue);
}
size_t ScOrcusStyles::commit_font()