summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/FontFeatureTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/FontFeatureTest.cxx')
-rw-r--r--vcl/qa/cppunit/FontFeatureTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/FontFeatureTest.cxx b/vcl/qa/cppunit/FontFeatureTest.cxx
index 7476162b976e..fca68240f0da 100644
--- a/vcl/qa/cppunit/FontFeatureTest.cxx
+++ b/vcl/qa/cppunit/FontFeatureTest.cxx
@@ -48,7 +48,7 @@ void FontFeatureTest::testGetFontFeatures()
return; // Can't test this because the font is not available, so exit
vcl::Font aFont = aVDev->GetFont();
- aFont.SetFamilyName("Linux Libertine G");
+ aFont.SetFamilyName(aFontName);
aFont.SetWeight(FontWeight::WEIGHT_NORMAL);
aFont.SetItalic(FontItalic::ITALIC_NORMAL);
aFont.SetWidthType(FontWidth::WIDTH_NORMAL);