Kaydet (Commit) 3a1d4f02 authored tarafından Michael Stahl's avatar Michael Stahl

tweak comment translation

Change-Id: I729612b2ffeea9c3c64f8f0c0c2313f48b965270
üst c1cc17bc
...@@ -201,7 +201,7 @@ SwNode2LayImpl::SwNode2LayImpl( const SwNode& rNode, sal_uLong nIdx, sal_Bool bS ...@@ -201,7 +201,7 @@ SwNode2LayImpl::SwNode2LayImpl( const SwNode& rNode, sal_uLong nIdx, sal_Bool bS
* *
* If the Frame is located in a SectionFrm, we check to see whether the * If the Frame is located in a SectionFrm, we check to see whether the
* SectionFrame is the suitable return value (instead of the Frame itself). * SectionFrame is the suitable return value (instead of the Frame itself).
* This is the case if the to-be-inserted Node is outside of the Area. * This is the case if the to-be-inserted Node is outside of the Section.
*/ */
SwFrm* SwNode2LayImpl::NextFrm() SwFrm* SwNode2LayImpl::NextFrm()
{ {
...@@ -234,8 +234,8 @@ SwFrm* SwNode2LayImpl::NextFrm() ...@@ -234,8 +234,8 @@ SwFrm* SwNode2LayImpl::NextFrm()
{ {
SwSectionFrm* pSct = pRet->FindSctFrm(); SwSectionFrm* pSct = pRet->FindSctFrm();
// ATTENTION: If we are in a Footnote, from a Layout point of view // ATTENTION: If we are in a Footnote, from a Layout point of view
// it could be located in an Area with columns, although it should be // it could be located in a Section with columns, although it
// outside of it when looking at the Nodes. // should be outside of it when looking at the Nodes.
// Thus, when dealing with Footnotes, we need to check whether the // Thus, when dealing with Footnotes, we need to check whether the
// SectionFrm is also located within the Footnote and not outside of it. // SectionFrm is also located within the Footnote and not outside of it.
if( !pRet->IsInFtn() || pSct->IsInFtn() ) if( !pRet->IsInFtn() || pSct->IsInFtn() )
...@@ -243,9 +243,9 @@ SwFrm* SwNode2LayImpl::NextFrm() ...@@ -243,9 +243,9 @@ SwFrm* SwNode2LayImpl::NextFrm()
OSL_ENSURE( pSct && pSct->GetSection(), "Where's my section?" ); OSL_ENSURE( pSct && pSct->GetSection(), "Where's my section?" );
SwSectionNode* pNd = pSct->GetSection()->GetFmt()->GetSectionNode(); SwSectionNode* pNd = pSct->GetSection()->GetFmt()->GetSectionNode();
OSL_ENSURE( pNd, "Lost SectionNode" ); OSL_ENSURE( pNd, "Lost SectionNode" );
// If the received Frame is located within an Area Frame that does // If the result Frame is located within a Section Frame
// not encompass the ExitNode, we return with the SectionFrm, else // whose Section does not contain the Node, we return with
// we return with the Cntnt/TabFrm // the SectionFrm, else we return with the Cntnt/TabFrm
if( bMaster ) if( bMaster )
{ {
if( pNd->GetIndex() >= nIndex ) if( pNd->GetIndex() >= nIndex )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment