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

@ -57,7 +57,7 @@ class KisWaveCurve {
class KisSinusoidalWaveCurve : public KisWaveCurve { class KisSinusoidalWaveCurve : public KisWaveCurve {
public: 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) virtual double valueAt(int x, int y)
@ -70,7 +70,7 @@ class KisSinusoidalWaveCurve : public KisWaveCurve {
class KisTriangleWaveCurve : public KisWaveCurve { class KisTriangleWaveCurve : public KisWaveCurve {
public: 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) virtual double valueAt(int x, int y)

@ -151,12 +151,12 @@ KoFilter::ConversionStatus APPLIXSPREADImport::convert( const TQCString& from, c
// Delete '(' // Delete '('
mystr.remove (0, 1); mystr.remove (0, 1);
int alllenght; int alllength;
TQString mystrn; TQString mystrn;
// Remember lenght of the string // Remember length of the string
alllenght = mystr.length (); alllength = mystr.length ();
if (alllenght >= 80-1) if (alllength >= 80-1)
{ {
kdDebug()<< " Line >= 80 chars \n"; kdDebug()<< " Line >= 80 chars \n";
int ok = true; int ok = true;
@ -187,7 +187,7 @@ KoFilter::ConversionStatus APPLIXSPREADImport::convert( const TQCString& from, c
// Delete typeformat infos incl. Space // Delete typeformat infos incl. Space
mystr.remove (0, pos+1); mystr.remove (0, pos+1);
// alllenght = alllenght - pos - 1; // alllength = alllength - pos - 1;
// Search for ':' // Search for ':'
pos = mystr.find (':'); pos = mystr.find (':');
@ -197,7 +197,7 @@ KoFilter::ConversionStatus APPLIXSPREADImport::convert( const TQCString& from, c
// Delete cellnumber informations // Delete cellnumber informations
mystr.remove (0, pos+1); mystr.remove (0, pos+1);
// alllenght = alllenght - pos - 1; // alllength = alllength - pos - 1;
// Split Table and Cell Number // Split Table and Cell Number

@ -34,7 +34,7 @@ public:
KWord13Format(void); KWord13Format(void);
virtual ~KWord13Format(void); virtual ~KWord13Format(void);
public: public:
/// Get lenght of format (1 except for texts) /// Get length of format (1 except for texts)
virtual int length( void ); virtual int length( void );
/** /**
* Get a pointer to the data correponding to \<FORMAT id="1"\> * Get a pointer to the data correponding to \<FORMAT id="1"\>

@ -65,7 +65,7 @@ public:
KWord13FormatOne(void); KWord13FormatOne(void);
virtual ~KWord13FormatOne(void); virtual ~KWord13FormatOne(void);
public: public:
/// Get lenght of format /// Get length of format
virtual int length( void ); virtual int length( void );
/** /**
* Get a pointer to the data correponding to \<FORMAT id="1"\> * 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-- ) { for ( int i = d->strOutText.length(); i != 0; i-- ) {
tmp = d->strOutText.left( 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 ) if ( format()->sheet()->doc()->unzoomItX( fm.width( tmp ) ) < w - 4.0 - 1.0 )
return tmp; return tmp;
} }

@ -730,7 +730,7 @@ public:
TQStringList listOfBookmarkName(KWViewMode * viewMode) const; TQStringList listOfBookmarkName(KWViewMode * viewMode) const;
void paragraphDeleted( KoTextParag *parag, KWFrameSet *frm); 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 initBookmarkList();
void loadImagesFromStore( KoStore *store ); void loadImagesFromStore( KoStore *store );

@ -177,9 +177,9 @@ void KWTextFrameSet::init()
TQT_SLOT( slotParagraphModified(KoTextParag*, int, int, int) )); 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*/) void KWTextFrameSet::slotParagraphCreated(KoTextParag* /*_parag*/)

@ -107,7 +107,7 @@ private:
* *
* @param array the array which is read * @param array the array which is read
* @param start start position of the PostScript stream * @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 pos current position (which is also returned)
* @param lastCharWasCr defines if the previous line ended with a Carriage Return, * @param lastCharWasCr defines if the previous line ended with a Carriage Return,
* to skip an eventual Line Feed at the start of this line * to skip an eventual Line Feed at the start of this line

Loading…
Cancel
Save