[Libreoffice-commits] .: basic/source

Andreas Mantke andreasma at kemper.freedesktop.org
Wed Nov 17 13:30:57 PST 2010


 basic/source/comp/buffer.cxx |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

New commits:
commit fcfc07200712d2b73571592ade734ca5bdbe6390
Author: Andreas Mantke <maand at gmx.de>
Date:   Wed Nov 17 22:30:55 2010 +0100

    translation of comments to English

diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx
index 8150466..cd3d4e2 100644
--- a/basic/source/comp/buffer.cxx
+++ b/basic/source/comp/buffer.cxx
@@ -35,9 +35,9 @@
 
 const static UINT32 UP_LIMIT=0xFFFFFF00L;
 
-// Der SbiBuffer wird in Inkrements von mindestens 16 Bytes erweitert.
-// Dies ist notwendig, da viele Klassen von einer Pufferlaenge
-// von x*16 Bytes ausgehen.
+// The SbiBuffer will be expanded in increments of at least 16 Bytes.
+// This is necessary, because many classes emanate from a buffer length
+// of x*16 Bytes.
 
 SbiBuffer::SbiBuffer( SbiParser* p, short n )
 {
@@ -56,8 +56,8 @@ SbiBuffer::~SbiBuffer()
     delete[] pBuf;
 }
 
-// Rausreichen des Puffers
-// Dies fuehrt zur Loeschung des Puffers!
+// Reach out the buffer
+// This lead to the deletion of the buffer!
 
 char* SbiBuffer::GetBuffer()
 {
@@ -67,8 +67,8 @@ char* SbiBuffer::GetBuffer()
     return p;
 }
 
-// Test, ob der Puffer n Bytes aufnehmen kann.
-// Im Zweifelsfall wird er vergroessert
+// Test, if the buffer can contain n Bytes.
+// In case of doubt it will be enlarged
 
 BOOL SbiBuffer::Check( USHORT n )
 {
@@ -101,7 +101,7 @@ BOOL SbiBuffer::Check( USHORT n )
     return TRUE;
 }
 
-// Angleich des Puffers auf die uebergebene Byte-Grenze
+// Conditioning of the buffer onto the passed Byte limit
 
 void SbiBuffer::Align( INT32 n )
 {
@@ -120,7 +120,7 @@ void SbiBuffer::Align( INT32 n )
     }
 }
 
-// Patch einer Location
+// Patch of a Location
 
 void SbiBuffer::Patch( UINT32 off, UINT32 val )
 {
@@ -136,9 +136,9 @@ void SbiBuffer::Patch( UINT32 off, UINT32 val )
     }
 }
 
-// Forward References auf Labels und Prozeduren
-// bauen eine Kette auf. Der Anfang der Kette ist beim uebergebenen
-// Parameter, das Ende der Kette ist 0.
+// Forward References upon label und procedures
+// establish a linkage. The beginning of the linkage is at the passed parameter,
+// the end of the linkage is 0.
 
 void SbiBuffer::Chain( UINT32 off )
 {


More information about the Libreoffice-commits mailing list