]> Git trees. - libqmvoc.git/commitdiff
msvc compile++ - why does mingw not complain about such kind of errors?
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>
Thu, 4 Oct 2007 20:50:07 +0000 (20:50 +0000)
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>
Thu, 4 Oct 2007 20:50:07 +0000 (20:50 +0000)
extdate/extdatetbl.cpp: removed unused vars

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=721246

extdate/extdatetbl.cpp
keduvocdocument/keduvockvtml2reader.cpp
keduvocdocument/keduvockvtml2writer.cpp

index 9ae341635ecf472208b58f420279e1530ce91477..c652f24b3c61587c0e5accc36e1c3a2298ad5cac 100644 (file)
@@ -213,8 +213,6 @@ ExtDateTable::paintCell(QPainter *painter, int row, int col)
          ( daynum == 6 && d->calendar->calendarName() == "gregorian" ) )
           normalday=false;
 
-                       QBrush brushTitle();
-                       QBrush brushInvertTitle(palette().brush( QPalette::Base ) );
                        QColor titleColor(isEnabled()?( KGlobalSettings::activeTitleColor() ):( KGlobalSettings::inactiveTitleColor() ) );
                        QColor textColor(isEnabled()?( KGlobalSettings::activeTextColor() ):( KGlobalSettings::inactiveTextColor() ) );
       if (!normalday)
index 7b9465f0accf97b16e169d63f758f5167df10df2..01ef2f9db80a8040dbbf440288aae317e0598f04 100644 (file)
@@ -795,6 +795,7 @@ bool KEduVocKvtml2Reader::readConjugationPerson(QDomElement & personElement, KEd
     currentElement = personElement.firstChildElement( KVTML_THIRD_NEUTRAL_COMMON );
     conjugation.setConjugation( currentElement.text(),
         KEduVocConjugation::ThirdNeutralCommon, number );
+    return true;
 }
 
 
@@ -821,6 +822,7 @@ bool KEduVocKvtml2Reader::readPersonalPronoun(QDomElement & pronounElement, KEdu
     if ( !personElement.isNull() ) {
         readPersonalPronounChild( personElement, pronoun, KEduVocConjugation::Plural );
     }
+    return true;
 }
 
 
@@ -845,6 +847,7 @@ bool KEduVocKvtml2Reader::readPersonalPronounChild(QDomElement & personElement,
     currentElement = personElement.firstChildElement( KVTML_THIRD_NEUTRAL_COMMON );
     pronoun.setPersonalPronoun( currentElement.text(),
         KEduVocConjugation::ThirdNeutralCommon, number );
+    return true;
 }
 
 
index a48bac99092195bfb241010d981271270af01186..62d348842edd27aa130e1049c92cbfeb4060b122 100644 (file)
@@ -652,4 +652,5 @@ bool KEduVocKvtml2Writer::writePersonalPronoun(QDomElement & pronounElement, con
             pronounElement.appendChild( number );
         }
     }
+    return true;
 }