summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorV Stuart Foote <VStuart.Foote@utsa.edu>2014-12-24 20:10:23 +0400
committerCaolán McNamara <caolanm@redhat.com>2015-01-06 17:06:16 +0000
commitaa474a538315c20128d0853bac97bfa3e66a2c12 (patch)
tree56e4f7786264f4a5527b735c98e09545923db8a9 /sw
parenta5fd512c34c7210d86f210c74033291bd27ca83c (diff)
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@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> (cherry picked from commit 889f4705b90147d5653b08491579c51a7aca12be) Reviewed-on: https://gerrit.libreoffice.org/13643 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/DocumentStylePoolManager.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 089c9a51e524..a2c2175ffd8e 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;