Missed a comment and improved another one
Change-Id: Id5d9f772840378f3c3a69a74bd1f8adf8040e734
This commit is contained in:
@@ -766,9 +766,9 @@ SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos )
|
|||||||
|
|
||||||
void SwTxtFrm::_SetOfst( const xub_StrLen nNewOfst )
|
void SwTxtFrm::_SetOfst( const xub_StrLen nNewOfst )
|
||||||
{
|
{
|
||||||
// Die Invalidierung unseres Follows ist nicht noetig.
|
// We do not need to invalidate out Follow.
|
||||||
// Wir sind ein Follow, werden gleich formatiert und
|
// We are a Follow, get formatted right away and call
|
||||||
// rufen von dort aus das SetOfst() !
|
// SetOfst() from there
|
||||||
nOfst = nNewOfst;
|
nOfst = nNewOfst;
|
||||||
SwParaPortion *pPara = GetPara();
|
SwParaPortion *pPara = GetPara();
|
||||||
if( pPara )
|
if( pPara )
|
||||||
@@ -1532,7 +1532,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
|
|||||||
sal_Bool bOldEndHyph = rLine.GetCurr()->IsEndHyph();
|
sal_Bool bOldEndHyph = rLine.GetCurr()->IsEndHyph();
|
||||||
sal_Bool bOldMidHyph = rLine.GetCurr()->IsMidHyph();
|
sal_Bool bOldMidHyph = rLine.GetCurr()->IsMidHyph();
|
||||||
bFormat = FormatLine( rLine, bPrev );
|
bFormat = FormatLine( rLine, bPrev );
|
||||||
// There can only have one bPrev ... (???)
|
// There can only be one bPrev ... (???)
|
||||||
bPrev = sal_False;
|
bPrev = sal_False;
|
||||||
if ( bMaxHyph )
|
if ( bMaxHyph )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user