pull/1/head
Darrell Anderson 12 years ago
parent 3b34db715b
commit abb28b96f6

@ -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)

@ -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

@ -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"\>

@ -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"\>

@ -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;
}

@ -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 );

@ -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*/)

@ -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

Loading…
Cancel
Save