[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sc/source

Noel Power noel.power at suse.com
Thu Mar 14 02:17:30 PDT 2013


 sc/source/filter/oox/stylesbuffer.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8a548d2332c162d8713d266ed15aa2ff6e6a2076
Author: Noel Power <noel.power at suse.com>
Date:   Wed Mar 13 12:23:41 2013 +0000

    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 at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index b7cc8db..703fc8b 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;


More information about the Libreoffice-commits mailing list