[Libreoffice-commits] .: sw/source
Tor Lillqvist
tml at kemper.freedesktop.org
Wed Jun 22 04:28:22 PDT 2011
sw/source/core/doc/poolfmt.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 54ef006e657c16bd21577f3952190ea29acec44e
Author: André Schnabel <andre.schnabel at gmx.net>
Date: Tue Jun 21 16:55:41 2011 +0200
fix for fdo#32421: set indent for footnotes / endnotes to 0.6cm
with this footnotes with number >99 will look much better
Signed-off-by: Tor Lillqvist <tlillqvist at novell.com>
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 54e9a93..e97b56b 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -575,12 +575,12 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( sal_uInt16 nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_FOOTNOTE: // Fussnote
- case RES_POOLCOLL_ENDNOTE:
+ case RES_POOLCOLL_FOOTNOTE: // paragraph style Footnote
+ case RES_POOLCOLL_ENDNOTE: // paragraph style Endnote
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
- aLR.SetTxtFirstLineOfst( -(short)GetMetricVal( CM_05 ));
- aLR.SetTxtLeft( GetMetricVal( CM_05 ));
+ aLR.SetTxtFirstLineOfst( -(short)( GetMetricVal( CM_05 ) + GetMetricVal( CM_01 ) ) );
+ aLR.SetTxtLeft( GetMetricVal( CM_05 ) + GetMetricVal( CM_01 ) );
SetAllScriptItem( aSet, SvxFontHeightItem( PT_10, 100, RES_CHRATR_FONTSIZE ) );
aSet.Put( aLR );
SwFmtLineNumber aLN; aLN.SetCountLines( sal_False );
More information about the Libreoffice-commits
mailing list