summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV Stuart Foote <VStuart.Foote@utsa.edu>2014-12-24 20:10:23 +0400
committerYousuf Philips <philipz85@hotmail.com>2014-12-24 16:15:49 +0000
commit889f4705b90147d5653b08491579c51a7aca12be (patch)
tree4ed88ac0dc72a20b0b342cda6c696b10ffbf96fe
parenta84f0aa8c30d744fdee5e36ad91fb8689ea2757c (diff)
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>
-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;