Braces on separate lines please.  I'm not sure what the logic is here exactly.  Why 2*m_itemsPerPage ?  It might pay to add some comments if it's not obvious what it's supposed to do.