Kaydet (Commit) 889f4705 authored tarafından V Stuart Foote's avatar V Stuart Foote Kaydeden (comit) Yousuf Philips

fdo#82041 restore heading 3 and 4 color to automatic

Change-Id: I81de0e67b388507a29e3cb70a05f08775a380bad
Reviewed-on: https://gerrit.libreoffice.org/13642Reviewed-by: 's avatarYousuf Philips <philipz85@hotmail.com>
Tested-by: 's avatarYousuf Philips <philipz85@hotmail.com>
üst a84f0aa8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment