From a4ac59e29c2bf63f3deebb4133b79f1b6bb87f79 Mon Sep 17 00:00:00 2001
From: Philipp Weissenbacher
Date: Fri, 11 May 2012 14:37:24 +0200
Subject: [PATCH] Missed a comment and improved another one
Change-Id: Id5d9f772840378f3c3a69a74bd1f8adf8040e734
---
sw/source/core/text/frmform.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index 99314120e487..ba7808783636 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -766,9 +766,9 @@ SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos )
void SwTxtFrm::_SetOfst( const xub_StrLen nNewOfst )
{
- // Die Invalidierung unseres Follows ist nicht noetig.
- // Wir sind ein Follow, werden gleich formatiert und
- // rufen von dort aus das SetOfst() !
+ // We do not need to invalidate out Follow.
+ // We are a Follow, get formatted right away and call
+ // SetOfst() from there
nOfst = nNewOfst;
SwParaPortion *pPara = GetPara();
if( pPara )
@@ -1532,7 +1532,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
sal_Bool bOldEndHyph = rLine.GetCurr()->IsEndHyph();
sal_Bool bOldMidHyph = rLine.GetCurr()->IsMidHyph();
bFormat = FormatLine( rLine, bPrev );
- // There can only have one bPrev ... (???)
+ // There can only be one bPrev ... (???)
bPrev = sal_False;
if ( bMaxHyph )
{