summaryrefslogtreecommitdiff
path: root/tools/qa/cppunit/test_rectangle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qa/cppunit/test_rectangle.cxx')
-rw-r--r--tools/qa/cppunit/test_rectangle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qa/cppunit/test_rectangle.cxx b/tools/qa/cppunit/test_rectangle.cxx
index 23bfaf61ec7a..e4992f3f44f9 100644
--- a/tools/qa/cppunit/test_rectangle.cxx
+++ b/tools/qa/cppunit/test_rectangle.cxx
@@ -52,9 +52,9 @@ void Test::test_rectangle()
CPPUNIT_ASSERT_EQUAL(tools::Long(0), aRect.getWidth());
CPPUNIT_ASSERT_EQUAL(tools::Long(0), aRect.getHeight());
- aRect.setX(12);
+ aRect.SetPosX(12);
CPPUNIT_ASSERT_EQUAL(tools::Long(1), aRect.GetHeight());
- aRect.setY(12);
+ aRect.SetPosY(12);
CPPUNIT_ASSERT_EQUAL(tools::Long(1), aRect.GetWidth());
}
}