summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaskaran Singh <jvsg1303@gmail.com>2016-06-27 11:48:55 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-18 00:15:09 +0200
commit2730107f3f2626b3a666879a42421c7bbae739db (patch)
treeaa990c8a5883282db6dd8a50cb8b79983095cdad
parentd909d788095381bd9de39181b68bac0b9118bcc6 (diff)
Fix getDirection for border in orcus interface
Change-Id: I43077c6b61d883826476ab1234d6b70abadcae0a
-rw-r--r--sc/source/filter/orcus/interface.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 85511d76142f..f5e30808343b 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -805,13 +805,13 @@ SvxBoxItemLine getDirection(os::border_direction_t dir)
return SvxBoxItemLine::RIGHT;
break;
case os::border_direction_t::left:
- return SvxBoxItemLine::RIGHT;
+ return SvxBoxItemLine::LEFT;
break;
case os::border_direction_t::top:
- return SvxBoxItemLine::RIGHT;
+ return SvxBoxItemLine::TOP;
break;
case os::border_direction_t::bottom:
- return SvxBoxItemLine::RIGHT;
+ return SvxBoxItemLine::BOTTOM;
break;
default:
break;