Use pre-increment on iterators
This commit is contained in:
parent
b5028f267d
commit
8df0cfba2a
@ -844,7 +844,7 @@ wxDateTime::ParseRfc822Date(const wxString& date, wxString::const_iterator *end)
|
|||||||
wxDateTime_t sec = 0;
|
wxDateTime_t sec = 0;
|
||||||
if ( *p == ':' )
|
if ( *p == ':' )
|
||||||
{
|
{
|
||||||
p++;
|
++p;
|
||||||
if ( !wxIsdigit(*p) )
|
if ( !wxIsdigit(*p) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -1033,7 +1033,7 @@ wxDateTime::ParseFormat(const wxString& date,
|
|||||||
// spaces in the input
|
// spaces in the input
|
||||||
while ( input != end && wxIsspace(*input) )
|
while ( input != end && wxIsspace(*input) )
|
||||||
{
|
{
|
||||||
input++;
|
++input;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else // !space
|
else // !space
|
||||||
@ -1772,7 +1772,7 @@ wxDateTime::ParseDate(const wxString& date, wxString::const_iterator *end)
|
|||||||
|
|
||||||
wxString::const_iterator p = pBegin;
|
wxString::const_iterator p = pBegin;
|
||||||
while ( p != pEnd && wxIsspace(*p) )
|
while ( p != pEnd && wxIsspace(*p) )
|
||||||
p++;
|
++p;
|
||||||
|
|
||||||
// some special cases
|
// some special cases
|
||||||
static struct
|
static struct
|
||||||
|
@ -93,7 +93,7 @@ void wxQtDCImpl::QtPreparePainter( )
|
|||||||
m_qtPainter->setClipRect( r.x, r.y, r.width, r.height,
|
m_qtPainter->setClipRect( r.x, r.y, r.width, r.height,
|
||||||
append ? Qt::IntersectClip : Qt::ReplaceClip );
|
append ? Qt::IntersectClip : Qt::ReplaceClip );
|
||||||
append = true;
|
append = true;
|
||||||
ri++;
|
++ri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user