Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2070

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/70/2070/1

Comment translation german - english.

sw/source/ui/wrtsh/delete.cxx

Change-Id: I92487e7474c4e27cee939812edf410e9a26731e7
---
M sw/source/ui/wrtsh/delete.cxx
1 file changed, 15 insertions(+), 15 deletions(-)



diff --git a/sw/source/ui/wrtsh/delete.cxx b/sw/source/ui/wrtsh/delete.cxx
index 6f6d3aa..d858742 100644
--- a/sw/source/ui/wrtsh/delete.cxx
+++ b/sw/source/ui/wrtsh/delete.cxx
@@ -83,7 +83,7 @@
 }
 
 /*------------------------------------------------------------------------
- Beschreibung:  Zeile loeschen
+ Description: Erase the line
 ------------------------------------------------------------------------*/
 
 
@@ -92,7 +92,7 @@
 {
     SwActContext aActContext(this);
     ResetCursorStack();
-        // alten Cursor merken
+        // remember the old cursor
     Push();
     ClearMark();
     SwCrsrShell::LeftMargin();
@@ -130,7 +130,7 @@
 
 long SwWrtShell::DelLeft()
 {
-    // wenns denn ein Fly ist, wech damit
+    // If it's a Fly, throw it away
     int nSelType = GetSelectionType();
     const int nCmp = nsSelectionType::SEL_FRM | nsSelectionType::SEL_GRF | 
nsSelectionType::SEL_OLE | nsSelectionType::SEL_DRW;
     if( nCmp & nSelType )
@@ -156,13 +156,13 @@
         return 1L;
     }
 
-    // wenn eine Selektion existiert, diese loeschen.
+    // If a selection exists, erase this
     if ( IsSelection() )
     {
         if( !IsBlockMode() || HasSelection() )
         {
-            //OS: wieder einmal Basic: SwActContext muss vor
-            //EnterStdMode verlassen werden!
+            //OS: Once again Basic: SwActContext must be leaved
+            //before EnterStdMode!
             {
                 SwActContext aActContext(this);
                 ResetCursorStack();
@@ -183,7 +183,7 @@
             EnterStdMode();
     }
 
-    // JP 29.06.95: nie eine davor stehende Tabelle loeschen.
+    // JP 29.06.95: never erase a table wich standing in front of.
     bool bSwap = false;
     const SwTableNode * pWasInTblNd = SwCrsrShell::IsCrsrInTbl();
 
@@ -234,8 +234,8 @@
 
 long SwWrtShell::DelRight()
 {
-        // werden verodert, wenn Tabellenselektion vorliegt;
-        // wird hier auf nsSelectionType::SEL_TBL umgesetzt.
+        // Will be or'ed, if a tableselection exists;
+        // will here be implemented on nsSelectionType::SEL_TBL
     long nRet = 0;
     int nSelection = GetSelectionType();
     if(nSelection & nsSelectionType::SEL_TBL_CELLS)
@@ -251,13 +251,13 @@
     case nsSelectionType::SEL_TXT:
     case nsSelectionType::SEL_TBL:
     case nsSelectionType::SEL_NUM:
-            //  wenn eine Selektion existiert, diese loeschen.
+            //  If a selection exists, erase it.
         if( IsSelection() )
         {
             if( !IsBlockMode() || HasSelection() )
             {
-                //OS: wieder einmal Basic: SwActContext muss vor
-                //EnterStdMode verlassen werden!
+                //OS: And once again Basic: SwActContext must be
+                //leaved before EnterStdMode !
                 {
                     SwActContext aActContext(this);
                     ResetCursorStack();
@@ -445,9 +445,9 @@
     return nRet;
 }
 /*
- * alle Loeschoperationen sollten mit Find statt mit
- * Nxt-/PrvDelim arbeiten, da letzteren mit Wrap Around arbeiten
- * -- das ist wohl nicht gewuenscht.
+ * All erase operations should work with Find instead with
+ * Nxt-/PrvDelim, because the latter works with Wrap Around
+ * -- that's probably not wished.
  */
 
 

-- 
To view, visit https://gerrit.libreoffice.org/2070
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I92487e7474c4e27cee939812edf410e9a26731e7
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matthias Freund <matti_lx@yahoo.de>

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.