diff options
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/generic/gen.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx index 4d365a575808..027c7b9356b1 100644 --- a/tools/source/generic/gen.cxx +++ b/tools/source/generic/gen.cxx @@ -35,15 +35,6 @@ OString Pair::toString() const return OString::number(A()) + ", " + OString::number(B()); } -tools::Rectangle tools::Rectangle::Justify( const Point& rLT, const Point& rRB ) -{ - tools::Long nLeft = std::min(rLT.X(), rRB.X()); - tools::Long nTop = std::min(rLT.Y(), rRB.Y()); - tools::Long nRight = std::max(rLT.X(), rRB.X()); - tools::Long nBottom = std::max(rLT.Y(), rRB.Y()); - return Rectangle( nLeft, nTop, nRight, nBottom ); -} - void tools::Rectangle::SetSize( const Size& rSize ) { if ( rSize.Width() < 0 ) |