diff options
-rw-r--r-- | sw/source/core/doc/poolfmt.cxx | 6 |
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) |