diff options
Diffstat (limited to 'sw/source/core/bastyp/swrect.cxx')
-rw-r--r-- | sw/source/core/bastyp/swrect.cxx | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx index 24a702c9971c..39a30e4d3222 100644 --- a/sw/source/core/bastyp/swrect.cxx +++ b/sw/source/core/bastyp/swrect.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,10 +39,10 @@ /************************************************************************* |* -|* SwRect::SwRect() +|* SwRect::SwRect() |* -|* Ersterstellung MA 02. Feb. 93 -|* Letzte Aenderung MA 05. Sep. 93 +|* Ersterstellung MA 02. Feb. 93 +|* Letzte Aenderung MA 05. Sep. 93 |* |*************************************************************************/ @@ -59,10 +59,10 @@ SwRect::SwRect( const Rectangle &rRect ) : /************************************************************************* |* -|* SwRect::Center() +|* SwRect::Center() |* -|* Ersterstellung MA 27. Jan. 93 -|* Letzte Aenderung MA 27. Jan. 93 +|* Ersterstellung MA 27. Jan. 93 +|* Letzte Aenderung MA 27. Jan. 93 |* |*************************************************************************/ Point SwRect::Center() const @@ -80,10 +80,10 @@ Point SwRect::Center() const /************************************************************************* |* -|* SwRect::Union() +|* SwRect::Union() |* -|* Ersterstellung MA 27. Jan. 93 -|* Letzte Aenderung MA 27. Jan. 93 +|* Ersterstellung MA 27. Jan. 93 +|* Letzte Aenderung MA 27. Jan. 93 |* |*************************************************************************/ @@ -105,10 +105,10 @@ SwRect& SwRect::Union( const SwRect& rRect ) } /************************************************************************* |* -|* SwRect::Intersection(), _Intersection() +|* SwRect::Intersection(), _Intersection() |* -|* Ersterstellung MA 27. Jan. 93 -|* Letzte Aenderung MA 05. Sep. 93 +|* Ersterstellung MA 27. Jan. 93 +|* Letzte Aenderung MA 05. Sep. 93 |* |*************************************************************************/ @@ -160,10 +160,10 @@ SwRect& SwRect::_Intersection( const SwRect& rRect ) } /************************************************************************* |* -|* SwRect::IsInside() +|* SwRect::IsInside() |* -|* Ersterstellung MA 27. Jan. 93 -|* Letzte Aenderung MA 27. Jan. 93 +|* Ersterstellung MA 27. Jan. 93 +|* Letzte Aenderung MA 27. Jan. 93 |* |*************************************************************************/ @@ -176,9 +176,9 @@ BOOL SwRect::IsInside( const SwRect& rRect ) const const long nrRight = rRect.Right(); const long nrBottom= rRect.Bottom(); return (Left() <= rRect.Left()) && (rRect.Left()<= nRight) && - (Left() <= nrRight) && (nrRight <= nRight) && - (Top() <= rRect.Top()) && (rRect.Top() <= nBottom) && - (Top() <= nrBottom) && (nrBottom <= nBottom); + (Left() <= nrRight) && (nrRight <= nRight) && + (Top() <= rRect.Top()) && (rRect.Top() <= nBottom) && + (Top() <= nrBottom) && (nrBottom <= nBottom); } @@ -204,10 +204,10 @@ BOOL SwRect::IsNear( const Point& rPoint, long nTolerance ) const /************************************************************************* |* -|* SwRect::IsOver() +|* SwRect::IsOver() |* -|* Ersterstellung MA 25. Feb. 94 -|* Letzte Aenderung MA 27. Jun. 96 +|* Ersterstellung MA 25. Feb. 94 +|* Letzte Aenderung MA 27. Jun. 96 |* |*************************************************************************/ @@ -215,7 +215,7 @@ BOOL SwRect::IsNear( const Point& rPoint, long nTolerance ) const BOOL SwRect::IsOver( const SwRect& rRect ) const { - return (Top() <= rRect.Bottom()) + return (Top() <= rRect.Bottom()) && (Left() <= rRect.Right()) && (Right() >= rRect.Left()) && (Bottom()>= rRect.Top()) ? TRUE : FALSE; @@ -223,10 +223,10 @@ BOOL SwRect::IsOver( const SwRect& rRect ) const /************************************************************************* |* -|* SwRect::Justify() +|* SwRect::Justify() |* -|* Ersterstellung MA 10. Oct. 94 -|* Letzte Aenderung MA 23. Oct. 96 +|* Ersterstellung MA 10. Oct. 94 +|* Letzte Aenderung MA 23. Oct. 96 |* |*************************************************************************/ @@ -319,7 +319,7 @@ void SwRect::SetLowerLeftCorner( const Point& rNew ) #if OSL_DEBUG_LEVEL > 1 /************************************************************************* - * operator<<( ostream&, SwRect&) + * operator<<( ostream&, SwRect&) *************************************************************************/ |