[Libreoffice-commits] core.git: Branch 'feature/table-style' - sw/source

Alex Ivan alexnivan at yahoo.com
Tue Jul 30 08:48:35 PDT 2013


 sw/source/core/bastyp/init.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 32ce2fc84491847d26576f3af454cb9e86cfc26a
Author: Alex Ivan <alexnivan at yahoo.com>
Date:   Tue Jul 30 18:32:05 2013 +0300

    Fix missing font attributes in AutoFormat window
    
    The attribute range associated with the SwTableBoxFmt did not
    include the necessary ids for character attributes, and as a
    result, these were not stored and not used correctly.
    
    The solution should not have any side-effects, but, to be sure
    there should be further testing of other features where this
    range came into use.
    
    Change-Id: I8cb1ac881b2746ae3ec7958a958167de6f140a7f

diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx
index 934c821..148202c 100644
--- a/sw/source/core/bastyp/init.cxx
+++ b/sw/source/core/bastyp/init.cxx
@@ -209,6 +209,7 @@ sal_uInt16 aTableBoxSetRange[] = {
     RES_PROTECT,        RES_PROTECT,
     RES_VERT_ORIENT,    RES_VERT_ORIENT,
     RES_FRAMEDIR,       RES_FRAMEDIR,
+    RES_CHRATR_BEGIN,   RES_CHRATR_END-1,
     RES_BOXATR_BEGIN,   RES_BOXATR_END-1,
     RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1,
     0


More information about the Libreoffice-commits mailing list