summaryrefslogtreecommitdiff
path: root/tools/source/generic/gen.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/gen.cxx')
-rw-r--r--tools/source/generic/gen.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 0452f8ea2049..69dc4d068ced 100644
--- a/tools/source/generic/gen.cxx
+++ b/tools/source/generic/gen.cxx
@@ -99,10 +99,10 @@ tools::Rectangle& tools::Rectangle::Intersection( const tools::Rectangle& rRect
return *this;
}
- // Justify rectangle
+ // Normalize rectangle
tools::Rectangle aTmpRect( rRect );
- Justify();
- aTmpRect.Justify();
+ Normalize();
+ aTmpRect.Normalize();
// Perform intersection
mnLeft = std::max( mnLeft, aTmpRect.mnLeft );
@@ -117,7 +117,7 @@ tools::Rectangle& tools::Rectangle::Intersection( const tools::Rectangle& rRect
return *this;
}
-void tools::Rectangle::Justify()
+void tools::Rectangle::Normalize()
{
if ((mnRight < mnLeft) && (!IsWidthEmpty()))
{