summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJaskaran Singh <jvsg1303@gmail.com>2016-07-22 18:38:45 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-18 00:15:14 +0200
commit0dae3aacbf46ddd7dbef10b3f376ca2ad7665212 (patch)
treedbb3597848bae3cf798fc39190b3873051ba92b8 /sc/source
parent77e568cd4c0e20fe26219487f89e56d80a11713a (diff)
Fix reorder and overflow warning in orcus interface
Change-Id: I700463434a99a87e485b61bac78513a286f507cd
Diffstat (limited to 'sc/source')
-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 b6f05b4f2522..459184332d64 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -753,18 +753,19 @@ ScOrcusStyles::ScOrcusStyles(ScDocument& rDoc):
ScOrcusStyles::font::font():
mbBold(false),
mbItalic(false),
+ mnSize(10),
+ maColor(COL_WHITE),
mbHasFontAttr(false),
mbHasUnderlineAttr(false),
- mnSize(10),
meUnderline(LINESTYLE_NONE),
- maColor(COL_WHITE, COL_WHITE, COL_WHITE, COL_WHITE)
+ maUnderlineColor(COL_WHITE)
{
}
ScOrcusStyles::fill::fill():
maPattern(""),
- maFgColor(Color(COL_WHITE, COL_WHITE, COL_WHITE)),
- maBgColor(Color(COL_WHITE, COL_WHITE, COL_WHITE)),
+ maFgColor(COL_WHITE),
+ maBgColor(COL_WHITE),
mbHasFillAttr(false)
{
}