summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJaskaran Singh <jvsg1303@gmail.com>2016-08-05 00:12:11 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-18 00:15:19 +0200
commita531c8ce9e0b7fad6efe58f089c4e58411ff9dd1 (patch)
treeb4992c2c7ecfd4b3496c7133f5e74a8b6da142dd /sc
parentab4aeb14edeedda65d29db228df16b50de447ede (diff)
Fix a bug in border import in orcus interface
Change-Id: Ic058787b1779f7731c0fe60d73b221011abe2b6c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/orcus/interface.cxx2
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(&current_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(&current_border_line.second.maColor, current_border_line.second.mnWidth, current_border_line.second.mestyle);
aDiagonal_BLTR.SetLine(&aLine);