diff options
author | Alexander Wilms <alexander.wilms@zoho.com> | 2012-08-10 22:48:02 +0200 |
---|---|---|
committer | Alexander Wilms <alexander.wilms@zoho.com> | 2012-08-19 05:59:28 +0200 |
commit | 7f0ff09dc3847da402810597b7f514c7eff53c3b (patch) | |
tree | f2f210e9d0ebf697d9ce74e8946bdb3d259dc485 /filter | |
parent | 3e60168d7d579a5e4e6d62b5eba5fb39d0b601a0 (diff) |
Fixed typos and translated comments
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/ios2met/ios2met.cxx | 12 | ||||
-rw-r--r-- | filter/source/graphicfilter/ipsd/ipsd.cxx | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx index ef0caea7b6da..ec79336d73db 100644 --- a/filter/source/graphicfilter/ios2met/ios2met.cxx +++ b/filter/source/graphicfilter/ios2met/ios2met.cxx @@ -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*/) { diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx b/filter/source/graphicfilter/ipsd/ipsd.cxx index d0acce65ee8f..2066a1542fcb 100644 --- a/filter/source/graphicfilter/ipsd/ipsd.cxx +++ b/filter/source/graphicfilter/ipsd/ipsd.cxx @@ -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) |