From f2a59220aef9acfac4a8839e01934020a3cc45b3 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Wed, 8 Oct 2008 20:39:38 +0000 Subject: [PATCH] more crazy fixes break bc again :( but it's already changed in 4.1 to 4.2 svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=869361 --- keduvocdocument/keduvocidentifier.cpp | 4 ++-- keduvocdocument/keduvocidentifier.h | 4 ++-- keduvocdocument/keduvocvokabelnreader.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keduvocdocument/keduvocidentifier.cpp b/keduvocdocument/keduvocidentifier.cpp index 86e766a..06a3e3c 100644 --- a/keduvocdocument/keduvocidentifier.cpp +++ b/keduvocdocument/keduvocidentifier.cpp @@ -120,7 +120,7 @@ void KEduVocIdentifier::setPersonalPronouns( const KEduVocPersonalPronoun & pron d->m_personalPronouns = pronouns; } -const QString& KEduVocIdentifier::tense(int tenseIndex) const +QString KEduVocIdentifier::tense(int tenseIndex) const { Q_ASSERT(d->m_tenses.size() > tenseIndex); return d->m_tenses.value(tenseIndex); @@ -136,7 +136,7 @@ void KEduVocIdentifier::setTense(int tenseIndex, const QString& tense) } } -const QStringList& KEduVocIdentifier::tenseList() const +QStringList KEduVocIdentifier::tenseList() const { return d->m_tenses; } diff --git a/keduvocdocument/keduvocidentifier.h b/keduvocdocument/keduvocidentifier.h index d3bc90c..ca99950 100644 --- a/keduvocdocument/keduvocidentifier.h +++ b/keduvocdocument/keduvocidentifier.h @@ -104,7 +104,7 @@ public: * @param tenseIndex desired tense * @return name of the tense */ - const QString& tense(int tenseIndex) const; + QString tense(int tenseIndex) const; /** * Sets the name of a tense for this language @@ -113,7 +113,7 @@ public: */ void setTense(int tenseIndex, const QString& tense); - const QStringList& tenseList() const; + QStringList tenseList() const; void setTenseList(const QStringList& tenses); diff --git a/keduvocdocument/keduvocvokabelnreader.cpp b/keduvocdocument/keduvocvokabelnreader.cpp index 343c2a1..0faa27f 100644 --- a/keduvocdocument/keduvocvokabelnreader.cpp +++ b/keduvocdocument/keduvocvokabelnreader.cpp @@ -119,12 +119,12 @@ bool KEduVocVokabelnReader::readDoc( KEduVocDocument *doc ) temp = inputStream.readLine(); //DO NOT translate } - for ( i = 0; i <= 14; i++ ) { + for ( i = 0; i <= 14; ++i ) { inputStream.readLine(); } - for ( i = 0; i < wordCount - 1; i++ ) { + for ( i = 0; i < wordCount - 1; ++i ) { int c = 0; expression.clear(); -- 2.47.3