summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-03-13 12:23:41 +0000
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-14 09:17:11 +0000
commit8a548d2332c162d8713d266ed15aa2ff6e6a2076 (patch)
tree7b0e092ccb4a03e37f9d9d36782a21e46bfef007
parent00e80df8fa4e6ae9f473376aa83e282e0fb5dbb0 (diff)
fix fdo#38385 - accept as valid 'start' and 'end' tokens for lineborders
Change-Id: Ie092cc09c9c6e971c4f2020cb3b233ee350752ce (cherry picked from commit 8b29f5cb0333c156154adc151a613a547fde4f8f) Reviewed-on: https://gerrit.libreoffice.org/2709 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index b7cc8db178a2..703fc8b1c36a 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -1782,7 +1782,9 @@ BorderLineModel* Border::getBorderLine( sal_Int32 nElement )
switch( nElement )
{
case XLS_TOKEN( left ): return &maModel.maLeft;
+ case XLS_TOKEN( start ): return &maModel.maLeft;
case XLS_TOKEN( right ): return &maModel.maRight;
+ case XLS_TOKEN( end ): return &maModel.maRight;
case XLS_TOKEN( top ): return &maModel.maTop;
case XLS_TOKEN( bottom ): return &maModel.maBottom;
case XLS_TOKEN( diagonal ): return &maModel.maDiagonal;