summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2012-12-15 18:13:07 +0100
committerJan Holesovsky <kendy@suse.cz>2012-12-19 11:20:39 +0100
commitecfdf8a42401b9762fb78ae693b19bdc76403508 (patch)
treedbcf02cf205d3cc996188dcedb3950e3417b9ae3
parente43fd91b5165a219a4b811209c7efad17379308f (diff)
Changed Writer follow-up Style for "Title" to be "Text body".
"Text body" is the most sensible follower for this I think. Change-Id: I4fc091446ada5f4aea82ba79dba84f2874bca760
-rw-r--r--sw/source/core/doc/poolfmt.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 532194426399..a78cb31681cf 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -933,8 +933,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( sal_uInt16 nId, bool bRegardLanguage )
aSet.Put( SvxAdjustItem( SVX_ADJUST_CENTER, RES_PARATR_ADJUST ) );
- pNewColl->SetNextTxtFmtColl( *GetTxtCollFromPool(
- RES_POOLCOLL_DOC_SUBTITEL ));
+ pNewColl->SetNextTxtFmtColl( *GetTxtCollFromPool( RES_POOLCOLL_TEXT ));
}
break;
@@ -967,9 +966,8 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( sal_uInt16 nId, bool bRegardLanguage )
{
::lcl_SetDfltFont( DEFAULTFONT_FIXED, aSet );
- // WORKAROUND: Set PRE to 10pt
+ // WORKAROUND: Set PRE to 10pt
SetAllScriptItem( aSet, SvxFontHeightItem(PT_10, 100, RES_CHRATR_FONTSIZE) );
- // WORKAROUND: Set PRE to 10pt
// The lower paragraph distance is set explicitly (makes
// assigning hard attributes easier)