[Libreoffice-commits] .: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 02:21:01 PST 2012
sw/source/core/doc/poolfmt.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit ecfdf8a42401b9762fb78ae693b19bdc76403508
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date: Sat Dec 15 18:13:07 2012 +0100
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
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 5321944..a78cb31 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)
More information about the Libreoffice-commits
mailing list