From e9ed1c118bc53956a54f778938df66314e69d48d Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Thu, 4 Oct 2007 20:50:07 +0000 Subject: [PATCH] msvc compile++ - why does mingw not complain about such kind of errors? extdate/extdatetbl.cpp: removed unused vars svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=721246 --- extdate/extdatetbl.cpp | 2 -- keduvocdocument/keduvockvtml2reader.cpp | 3 +++ keduvocdocument/keduvockvtml2writer.cpp | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/extdate/extdatetbl.cpp b/extdate/extdatetbl.cpp index 9ae3416..c652f24 100644 --- a/extdate/extdatetbl.cpp +++ b/extdate/extdatetbl.cpp @@ -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) diff --git a/keduvocdocument/keduvockvtml2reader.cpp b/keduvocdocument/keduvockvtml2reader.cpp index 7b9465f..01ef2f9 100644 --- a/keduvocdocument/keduvockvtml2reader.cpp +++ b/keduvocdocument/keduvockvtml2reader.cpp @@ -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; } diff --git a/keduvocdocument/keduvockvtml2writer.cpp b/keduvocdocument/keduvockvtml2writer.cpp index a48bac9..62d3488 100644 --- a/keduvocdocument/keduvockvtml2writer.cpp +++ b/keduvocdocument/keduvockvtml2writer.cpp @@ -652,4 +652,5 @@ bool KEduVocKvtml2Writer::writePersonalPronoun(QDomElement & pronounElement, con pronounElement.appendChild( number ); } } + return true; } -- 2.47.3