diff options
Diffstat (limited to 'tools/source/generic/gen.cxx')
-rw-r--r-- | tools/source/generic/gen.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx index ea855f98e9f0..61a16a5400e7 100644 --- a/tools/source/generic/gen.cxx +++ b/tools/source/generic/gen.cxx @@ -192,10 +192,7 @@ bool tools::Rectangle::IsInside( const Point& rPoint ) const bool tools::Rectangle::IsInside( const tools::Rectangle& rRect ) const { - if ( IsInside( rRect.TopLeft() ) && IsInside( rRect.BottomRight() ) ) - return true; - else - return false; + return IsInside( rRect.TopLeft() ) && IsInside( rRect.BottomRight() ); } bool tools::Rectangle::IsOver( const tools::Rectangle& rRect ) const |