summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/FontFeatureTest.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 08:58:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 15:12:26 +0100
commit41eeaace84b45c803fff3ebd5ab981f0ad09393b (patch)
tree0a0290bcc852507efa8241bd0853ebdd84ec9cbf /vcl/qa/cppunit/FontFeatureTest.cxx
parenta2f7678171618d958e3c387718cd389bea63eaeb (diff)
loplugin:oncevar
Change-Id: Iba892694acb378887a1d15ab59104c55f591f0bd Reviewed-on: https://gerrit.libreoffice.org/62498 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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);