[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 17 12:29:19 PDT 2012


 sw/source/filter/xml/xmltbli.cxx |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

New commits:
commit b798de319da3ce6adc83941cf59e001084ba8424
Author: Kevin Hausmann <kevin at alliknow.net>
Date:   Fri Aug 17 12:25:09 2012 +0200

    Translate some German comments to English
    
    Change-Id: Iffde46f904ff3090df48f130ee4b82f23b15076e
    Reviewed-on: https://gerrit.libreoffice.org/423
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 60fdf2a..8d24c24 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -1877,8 +1877,8 @@ SwTableBox *SwXMLTableContext::NewTableBox( const SwStartNode *pStNd,
     if( pBox1 &&
         pBox1->GetSttNd() == pStNd )
     {
-        // wenn der StartNode dem StartNode der initial angelegten Box
-        // entspricht nehmen wir diese Box
+        // if the StartNode is equal to the StartNode of the initially
+        // created box, we use this box
         pBox = pBox1;
         pBox->SetUpper( pUpper );
         pBox1 = 0;
@@ -2057,9 +2057,8 @@ SwTableBox *SwXMLTableContext::MakeTableBox(
     }
     else
     {
-        // und die ist eine Tabelle: dann bauen wir eine neue
-        // Box und fuegen die Zeilen der Tabelle in die Zeilen
-        // der Box ein
+        // and it is a table: therefore we build a new box and
+        // put the rows of the table into the rows of the box
         pBox = new SwTableBox( pBoxFmt, 0, pUpper );
         pCell->GetSubTable()->MakeTable( pBox, nColWidth );
     }
@@ -2251,10 +2250,9 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper,
         {
             OSL_ENSURE( nCol < nRightCol, "Zu weit gelaufen" );
 
-            // Kann hinter der aktuellen HTML-Tabellen-Spalte gesplittet
-            // werden? Wenn ja, koennte der enstehende Bereich auch noch
-            // in Zeilen zerlegt werden, wenn man die naechste Spalte
-            // hinzunimmt?
+            // Can be split after current HTML table column?
+            // If yes, can the created region still be split to
+            // rows if the next column is added to it?
             sal_Bool bSplit = sal_True;
             sal_Bool bHoriSplitMayContinue = sal_False;
             sal_Bool bHoriSplitPossible = sal_False;


More information about the Libreoffice-commits mailing list