diff options
-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); |