Kaydet (Commit) 7f0ff09d authored tarafından Alexander Wilms's avatar Alexander Wilms

Fixed typos and translated comments

üst 3e60168d
......@@ -217,7 +217,7 @@ enum PenStyle { PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT };
struct OSPalette {
OSPalette * pSucc;
sal_uInt32 * p0RGB; // Darf auch NULL sein!
sal_uInt32 * p0RGB; // May be NULL!
sal_uInt16 nSize;
};
......@@ -344,10 +344,10 @@ private:
LineInfo aLineInfo;
OSArea * pAreaStack; // Areas, die in Arbeit sind
OSArea * pAreaStack; // Areas that are being worked on
OSPath * pPathStack; // Paths, die in Arbeit sind
OSPath * pPathList; // Vollendete Paths
OSPath * pPathStack; // Paths that are being worked on
OSPath * pPathList; // finished Paths
OSFont * pFontList;
......@@ -413,11 +413,11 @@ public:
~OS2METReader();
void ReadOS2MET( SvStream & rStreamOS2MET, GDIMetaFile & rGDIMetaFile );
// Liesst aus dem Stream eine OS2MET-Datei und fuellt das GDIMetaFile
// Reads from the stream a OS2MET file und and fills up the GDIMetaFile
};
//=================== Methoda of OS2METReader ==============================
//=================== Methods of OS2METReader ==============================
sal_Bool OS2METReader::Callback(sal_uInt16 /*nPercent*/)
{
......
......@@ -118,7 +118,7 @@ sal_Bool PSDReader::ReadPSD(Graphic & rGraphic )
m_rPSD.SetNumberFormatInt( NUMBERFORMAT_INT_BIGENDIAN );
// Kopf einlesen:
// read header:
if ( ImplReadHeader() == sal_False )
return sal_False;
......@@ -143,7 +143,7 @@ sal_Bool PSDReader::ReadPSD(Graphic & rGraphic )
mpWriteAcc->SetPaletteColor( i, Color( mpPalette[ i ], mpPalette[ i + 256 ], mpPalette[ i + 512 ] ) );
}
}
// read Bitmap-Daten
// read bitmap data
if ( mbStatus && ImplReadBody() )
{
if ( mbTransparent )
......@@ -363,7 +363,7 @@ sal_Bool PSDReader::ImplReadBody()
}
if ( nRunCount & 0x80 ) // a run length packet
{
if ( nBitCount == -1 ) // bits left in nDat ?
if ( nBitCount == -1 ) // bits left in nDat?
{
m_rPSD >> nDat;
nDat ^= 0xff;
......@@ -725,7 +725,7 @@ sal_Bool PSDReader::ImplReadBody()
return sal_True;
}
//================== GraphicImport - die exportierte Funktion ================
//================== GraphicImport - the exported function ================
extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool __LOADONCALLAPI
GraphicImport(SvStream & rStream, Graphic & rGraphic, FilterConfigItem*, sal_Bool)
......
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