[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 1 10:05:30 PDT 2012


 sw/source/core/docnode/node2lay.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 3a1d4f029374086023bb908625bd2a5973e0b062
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Nov 1 18:01:44 2012 +0100

    tweak comment translation
    
    Change-Id: I729612b2ffeea9c3c64f8f0c0c2313f48b965270

diff --git a/sw/source/core/docnode/node2lay.cxx b/sw/source/core/docnode/node2lay.cxx
index 0690e72..013b478 100644
--- a/sw/source/core/docnode/node2lay.cxx
+++ b/sw/source/core/docnode/node2lay.cxx
@@ -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
  * 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()
 {
@@ -234,8 +234,8 @@ SwFrm* SwNode2LayImpl::NextFrm()
             {
                 SwSectionFrm* pSct = pRet->FindSctFrm();
                 // 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
-                // outside of it when looking at the Nodes.
+                // it could be located in a Section with columns, although it
+                // should be outside of it when looking at the Nodes.
                 // Thus, when dealing with Footnotes, we need to check whether the
                 // SectionFrm is also located within the Footnote and not outside of it.
                 if( !pRet->IsInFtn() || pSct->IsInFtn() )
@@ -243,9 +243,9 @@ SwFrm* SwNode2LayImpl::NextFrm()
                     OSL_ENSURE( pSct && pSct->GetSection(), "Where's my section?" );
                     SwSectionNode* pNd = pSct->GetSection()->GetFmt()->GetSectionNode();
                     OSL_ENSURE( pNd, "Lost SectionNode" );
-                    // If the received Frame is located within an Area Frame that does
-                    // not encompass the ExitNode, we return with the SectionFrm, else
-                    // we return with the Cntnt/TabFrm
+                    // If the result Frame is located within a Section Frame
+                    // whose Section does not contain the Node, we return with
+                    // the SectionFrm, else we return with the Cntnt/TabFrm
                     if( bMaster )
                     {
                         if( pNd->GetIndex() >= nIndex )


More information about the Libreoffice-commits mailing list