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

V Stuart Foote VStuart.Foote at utsa.edu
Tue Jan 6 09:06:45 PST 2015


 sw/source/core/doc/DocumentStylePoolManager.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit aa474a538315c20128d0853bac97bfa3e66a2c12
Author: V Stuart Foote <VStuart.Foote at utsa.edu>
Date:   Wed Dec 24 20:10:23 2014 +0400

    fdo#82041 restore heading 3 and 4 color to automatic (4.4)
    
    Change-Id: I81de0e67b388507a29e3cb70a05f08775a380bad
    Reviewed-on: https://gerrit.libreoffice.org/13642
    Reviewed-by: Yousuf Philips <philipz85 at hotmail.com>
    Tested-by: Yousuf Philips <philipz85 at hotmail.com>
    (cherry picked from commit 889f4705b90147d5653b08491579c51a7aca12be)
    Reviewed-on: https://gerrit.libreoffice.org/13643
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 089c9a5..a2c2175 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -491,18 +491,14 @@ SwTxtFmtColl* DocumentStylePoolManager::GetTxtCollFromPool( sal_uInt16 nId, bool
         case RES_POOLCOLL_HEADLINE3:        // Headinline 3
             {
                 SvxULSpaceItem aUL( PT_7, PT_6, RES_UL_SPACE );
-                Color aCol( COL_GRAY );
                 aSet.Put( aUL );
-                aSet.Put( SvxColorItem ( aCol, RES_CHRATR_COLOR ) );
                 lcl_SetHeadline( &m_rDoc, pNewColl, aSet, nOutLvlBits, 2, false );
             }
             break;
         case RES_POOLCOLL_HEADLINE4:        // Headinline 4
             {
                 SvxULSpaceItem aUL( PT_6, PT_6, RES_UL_SPACE );
-                Color aCol( COL_GRAY );
                 aSet.Put( aUL );
-                aSet.Put( SvxColorItem ( aCol, RES_CHRATR_COLOR ) );
                 lcl_SetHeadline( &m_rDoc, pNewColl, aSet, nOutLvlBits, 3, true );
             }
             break;


More information about the Libreoffice-commits mailing list