[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdepim/enterprise/kdepim/korganizer (silent)
From: Sergio Luis Martins <iamsergio () gmail ! com>
Date: 2010-10-12 9:13:18
Message-ID: 20101012091318.4F60EAC894 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1185029 by smartins:
SVN_SILENT:
const while reading code
M +3 -3 koagenda.cpp
--- branches/kdepim/enterprise/kdepim/korganizer/koagenda.cpp #1185028:1185029
@@ -1708,7 +1708,7 @@
int XBegin, int XEnd )
{
if ( !mAllDayMode ) {
- kdDebug(5850) << "KOAgenda: calling insertAllDayItem in non all-day mode is illegal." << endl;
+ kdWarning(5850) << "KOAgenda: calling insertAllDayItem in non all-day mode is illegal." << endl;
return 0;
}
@@ -1723,8 +1723,8 @@
agendaItem->setCellXY( XBegin, 0, 0 );
agendaItem->setCellXRight( XEnd );
- double startIt = mGridSpacingX * ( agendaItem->cellXLeft() );
- double endIt = mGridSpacingX * ( agendaItem->cellWidth() +
+ const double startIt = mGridSpacingX * ( agendaItem->cellXLeft() );
+ const double endIt = mGridSpacingX * ( agendaItem->cellWidth() +
agendaItem->cellXLeft() );
agendaItem->resize( int( endIt ) - int( startIt ), int( mGridSpacingY ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic