summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/gen.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 027c7b9356b1..29e7da9b98fa 100644
--- a/tools/source/generic/gen.cxx
+++ b/tools/source/generic/gen.cxx
@@ -69,14 +69,14 @@ void tools::Rectangle::SaturatingSetSize(const Size& rSize)
SetHeightEmpty();
}
-void tools::Rectangle::SaturatingSetX(tools::Long x)
+void tools::Rectangle::SaturatingSetPosX(tools::Long x)
{
if (!IsWidthEmpty())
nRight = o3tl::saturating_add(nRight, x - nLeft);
nLeft = x;
}
-void tools::Rectangle::SaturatingSetY(tools::Long y)
+void tools::Rectangle::SaturatingSetPosY(tools::Long y)
{
if (!IsHeightEmpty())
nBottom = o3tl::saturating_add(nBottom, y - nTop);