fdo#82041 restore heading 3 and 4 color to automatic

Change-Id: I81de0e67b388507a29e3cb70a05f08775a380bad
Reviewed-on: https://gerrit.libreoffice.org/13642
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
This commit is contained in:
V Stuart Foote
2014-12-24 20:10:23 +04:00
committed by Yousuf Philips
parent a84f0aa8c3
commit 889f4705b9

View File

@@ -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;