diff options
author | Jaskaran Singh <jvsg1303@gmail.com> | 2016-08-05 00:12:11 +0530 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-17 18:59:58 +0200 |
commit | a54099378f9900ee623c679334a93d43b6dce5b0 (patch) | |
tree | 5edd813c255c101c9990dbcb63fb0662896f00f3 | |
parent | f3b306c7e721e9c617db72f6ebb993e8789400ca (diff) |
Fix a bug in border import in orcus interface
Change-Id: Ic058787b1779f7731c0fe60d73b221011abe2b6c
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 72a2f4eac9b4..c07ecb240f95 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -898,7 +898,7 @@ void ScOrcusStyles::border::applyToItemSet(SfxItemSet& rSet) const editeng::SvxBorderLine aLine(¤t_border_line.second.maColor, current_border_line.second.mnWidth, current_border_line.second.mestyle); aDiagonal_TLBR.SetLine(&aLine); } - if (current_border_line.first == orcus::spreadsheet::border_direction_t::diagonal_bl_tr) + else if (current_border_line.first == orcus::spreadsheet::border_direction_t::diagonal_bl_tr) { editeng::SvxBorderLine aLine(¤t_border_line.second.maColor, current_border_line.second.mnWidth, current_border_line.second.mestyle); aDiagonal_BLTR.SetLine(&aLine); |