From: Christian Ehrlicher Date: Mon, 20 Aug 2007 16:03:24 +0000 (+0000) Subject: msvc compile and warnings-- - hope this is the correct fix X-Git-Tag: v3.93.0~71 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=b5362699f481e4b3bf38e96a9a9a4f6ed98d7c08;p=libqmvoc.git msvc compile and warnings-- - hope this is the correct fix svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=702424 --- diff --git a/keduvocdocument/keduvockvtml2writer.cpp b/keduvocdocument/keduvockvtml2writer.cpp index c896d18..4730a3d 100644 --- a/keduvocdocument/keduvockvtml2writer.cpp +++ b/keduvocdocument/keduvockvtml2writer.cpp @@ -666,7 +666,7 @@ bool KEduVocKvtml2Writer::writeTranslation(QDomElement &translationElement, KEdu } // conjugation - if (!translation.conjugation().entryCount() > 0) + if (translation.conjugation().entryCount() <= 0) { KEduVocConjugation conjugation = translation.conjugation(); for (int i = 0; i < conjugation.entryCount(); ++i) diff --git a/keduvocdocument/keduvoclesson.cpp b/keduvocdocument/keduvoclesson.cpp index bb579fb..9398572 100644 --- a/keduvocdocument/keduvoclesson.cpp +++ b/keduvocdocument/keduvoclesson.cpp @@ -51,6 +51,7 @@ KEduVocLesson& KEduVocLesson::operator=(const KEduVocLesson &other) { d->m_entries = other.d->m_entries; d->m_description = other.d->m_description; + return *this; } void KEduVocLesson::setDescription(const QString &description)