]> Git trees. - libqmvoc.git/commitdiff
msvc compile and warnings-- - hope this is the correct fix
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>
Mon, 20 Aug 2007 16:03:24 +0000 (16:03 +0000)
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>
Mon, 20 Aug 2007 16:03:24 +0000 (16:03 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=702424

keduvocdocument/keduvockvtml2writer.cpp
keduvocdocument/keduvoclesson.cpp

index c896d18eb4f99f37c243e7cac73466717592b8c3..4730a3d5ab47f984c8bf1ab8fee32f9c42e76d30 100644 (file)
@@ -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)
index bb579fbe312bc2d70ca5bf2dab257db2727fc682..93985727e993d4e400efe0c743e043a41ae5fa34 100644 (file)
@@ -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)