diff options
-rw-r--r-- | chalk/plugins/filters/wavefilter/wavefilter.cc | 4 | ||||
-rw-r--r-- | filters/kspread/applixspread/applixspreadimport.cc | 12 | ||||
-rw-r--r-- | filters/kword/kword1.3/import/kword13format.h | 2 | ||||
-rw-r--r-- | filters/kword/kword1.3/import/kword13formatone.h | 2 | ||||
-rw-r--r-- | kspread/kspread_cell.cc | 2 | ||||
-rw-r--r-- | kword/KWDocument.h | 2 | ||||
-rw-r--r-- | kword/KWTextFrameSet.cpp | 4 | ||||
-rw-r--r-- | lib/kofficecore/KoPictureEps.h | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/chalk/plugins/filters/wavefilter/wavefilter.cc b/chalk/plugins/filters/wavefilter/wavefilter.cc index a7a9264e..ad7f732a 100644 --- a/chalk/plugins/filters/wavefilter/wavefilter.cc +++ b/chalk/plugins/filters/wavefilter/wavefilter.cc @@ -57,7 +57,7 @@ class KisWaveCurve { class KisSinusoidalWaveCurve : public KisWaveCurve { public: - KisSinusoidalWaveCurve(int amplitude, int wavelenght, int shift) : m_amplitude(amplitude), m_wavelength(wavelenght), m_shift(shift) + KisSinusoidalWaveCurve(int amplitude, int wavelength, int shift) : m_amplitude(amplitude), m_wavelength(wavelength), m_shift(shift) { } virtual double valueAt(int x, int y) @@ -70,7 +70,7 @@ class KisSinusoidalWaveCurve : public KisWaveCurve { class KisTriangleWaveCurve : public KisWaveCurve { public: - KisTriangleWaveCurve(int amplitude, int wavelenght, int shift) : m_amplitude(amplitude), m_wavelength(wavelenght), m_shift(shift) + KisTriangleWaveCurve(int amplitude, int wavelength, int shift) : m_amplitude(amplitude), m_wavelength(wavelength), m_shift(shift) { } virtual double valueAt(int x, int y) diff --git a/filters/kspread/applixspread/applixspreadimport.cc b/filters/kspread/applixspread/applixspreadimport.cc index 5b88d11c..b5978b86 100644 --- a/filters/kspread/applixspread/applixspreadimport.cc +++ b/filters/kspread/applixspread/applixspreadimport.cc @@ -151,12 +151,12 @@ KoFilter::ConversionStatus APPLIXSPREADImport::convert( const TQCString& from, c // Delete '(' mystr.remove (0, 1); - int alllenght; + int alllength; TQString mystrn; - // Remember lenght of the string - alllenght = mystr.length (); - if (alllenght >= 80-1) + // Remember length of the string + alllength = mystr.length (); + if (alllength >= 80-1) { kdDebug()<< " Line >= 80 chars \n"; int ok = true; @@ -187,7 +187,7 @@ KoFilter::ConversionStatus APPLIXSPREADImport::convert( const TQCString& from, c // Delete typeformat infos incl. Space mystr.remove (0, pos+1); - // alllenght = alllenght - pos - 1; + // alllength = alllength - pos - 1; // Search for ':' pos = mystr.find (':'); @@ -197,7 +197,7 @@ KoFilter::ConversionStatus APPLIXSPREADImport::convert( const TQCString& from, c // Delete cellnumber informations mystr.remove (0, pos+1); - // alllenght = alllenght - pos - 1; + // alllength = alllength - pos - 1; // Split Table and Cell Number diff --git a/filters/kword/kword1.3/import/kword13format.h b/filters/kword/kword1.3/import/kword13format.h index b3bbc6f5..91818efd 100644 --- a/filters/kword/kword1.3/import/kword13format.h +++ b/filters/kword/kword1.3/import/kword13format.h @@ -34,7 +34,7 @@ public: KWord13Format(void); virtual ~KWord13Format(void); public: - /// Get lenght of format (1 except for texts) + /// Get length of format (1 except for texts) virtual int length( void ); /** * Get a pointer to the data correponding to \<FORMAT id="1"\> diff --git a/filters/kword/kword1.3/import/kword13formatone.h b/filters/kword/kword1.3/import/kword13formatone.h index 682ef887..d92153ad 100644 --- a/filters/kword/kword1.3/import/kword13formatone.h +++ b/filters/kword/kword1.3/import/kword13formatone.h @@ -65,7 +65,7 @@ public: KWord13FormatOne(void); virtual ~KWord13FormatOne(void); public: - /// Get lenght of format + /// Get length of format virtual int length( void ); /** * Get a pointer to the data correponding to \<FORMAT id="1"\> diff --git a/kspread/kspread_cell.cc b/kspread/kspread_cell.cc index 0c5de5e6..7e2d85cd 100644 --- a/kspread/kspread_cell.cc +++ b/kspread/kspread_cell.cc @@ -4180,7 +4180,7 @@ TQString Cell::textDisplaying( TQPainter &_painter ) for ( int i = d->strOutText.length(); i != 0; i-- ) { tmp = d->strOutText.left( i ); - // 4 equals lenght of red triangle +1 pixel + // 4 equals length of red triangle +1 pixel if ( format()->sheet()->doc()->unzoomItX( fm.width( tmp ) ) < w - 4.0 - 1.0 ) return tmp; } diff --git a/kword/KWDocument.h b/kword/KWDocument.h index 3a32522e..d81d28c5 100644 --- a/kword/KWDocument.h +++ b/kword/KWDocument.h @@ -730,7 +730,7 @@ public: TQStringList listOfBookmarkName(KWViewMode * viewMode) const; void paragraphDeleted( KoTextParag *parag, KWFrameSet *frm); - void paragraphModified(KoTextParag* parag, int /*KoTextParag::ParagModifyType*/ type, int start, int lenght); + void paragraphModified(KoTextParag* parag, int /*KoTextParag::ParagModifyType*/ type, int start, int length); void initBookmarkList(); void loadImagesFromStore( KoStore *store ); diff --git a/kword/KWTextFrameSet.cpp b/kword/KWTextFrameSet.cpp index 540794f1..a9f3e6ac 100644 --- a/kword/KWTextFrameSet.cpp +++ b/kword/KWTextFrameSet.cpp @@ -177,9 +177,9 @@ void KWTextFrameSet::init() TQT_SLOT( slotParagraphModified(KoTextParag*, int, int, int) )); } -void KWTextFrameSet::slotParagraphModified(KoTextParag* _parag, int /*KoTextParag::ParagModifyType*/ _type, int start, int lenght) +void KWTextFrameSet::slotParagraphModified(KoTextParag* _parag, int /*KoTextParag::ParagModifyType*/ _type, int start, int length) { - kWordDocument()->paragraphModified(_parag, _type, start, lenght); + kWordDocument()->paragraphModified(_parag, _type, start, length); } void KWTextFrameSet::slotParagraphCreated(KoTextParag* /*_parag*/) diff --git a/lib/kofficecore/KoPictureEps.h b/lib/kofficecore/KoPictureEps.h index 23dfdaf4..51e578d1 100644 --- a/lib/kofficecore/KoPictureEps.h +++ b/lib/kofficecore/KoPictureEps.h @@ -107,7 +107,7 @@ private: * * @param array the array which is read * @param start start position of the PostScript stream - * @param lenght lenght of the PostScript stream + * @param length length of the PostScript stream * @param pos current position (which is also returned) * @param lastCharWasCr defines if the previous line ended with a Carriage Return, * to skip an eventual Line Feed at the start of this line |