https://bugs.documentfoundation.org/show_bug.cgi?id=163486

--- Comment #5 from Mike Kaganski <[email protected]> ---
... on the other hand, the third is strange: for the code

// virtual
sal_Bool SAL_CALL Paragraph::containsPoint(css::awt::Point const & rPoint)
{
    checkDisposed();
    css::awt::Rectangle aRect(m_xDocument->retrieveParagraphBounds(this,
                                                                     false));
    return rPoint.X >= 0 && rPoint.X < aRect.Width
        && rPoint.Y >= 0 && rPoint.Y < aRect.Height;
}

it warns about the 'return' statement, with "This is a nonsensical comparison:
pointer >= 0". It looks like something is incorrect, indeed; it doesn't know
the correct type. It's a matter of include paths maybe?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to