summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/font.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/font.cxx')
-rw-r--r--vcl/qa/cppunit/font.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/font.cxx b/vcl/qa/cppunit/font.cxx
index e99bf12a5124..7eca6f1c0c5d 100644
--- a/vcl/qa/cppunit/font.cxx
+++ b/vcl/qa/cppunit/font.cxx
@@ -86,10 +86,10 @@ void VclFontTest::testAlignment()
{
vcl::Font aFont;
- CPPUNIT_ASSERT_EQUAL_MESSAGE( "Text alignment should be ALIGN_TOP", TextAlign::ALIGN_TOP, aFont.GetAlignment());
+ CPPUNIT_ASSERT_EQUAL_MESSAGE( "Text alignment should be TextAlign::Top", TextAlign::Top, aFont.GetAlignment());
- aFont.SetAlignment(TextAlign::ALIGN_BASELINE);
- CPPUNIT_ASSERT_EQUAL_MESSAGE( "Text alignment should be ALIGN_BASELINE", TextAlign::ALIGN_BASELINE, aFont.GetAlignment());
+ aFont.SetAlignment(TextAlign::Baseline);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE( "Text alignment should be TextAlign::Baseline", TextAlign::Baseline, aFont.GetAlignment());
}