summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/mtfxmldump.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/mtfxmldump.cxx b/test/source/mtfxmldump.cxx
index f30e72729327..64efc48a3f39 100644
--- a/test/source/mtfxmldump.cxx
+++ b/test/source/mtfxmldump.cxx
@@ -350,7 +350,7 @@ void MetafileXmlDump::writeXml(const GDIMetaFile& rMetaFile, XmlWriter& rWriter)
rWriter.attribute("color", convertColorToString(aFont.GetColor()));
rWriter.attribute("fillcolor", convertColorToString(aFont.GetFillColor()));
- rWriter.attribute("name", aFont.GetName());
+ rWriter.attribute("name", aFont.GetFamilyName());
rWriter.attribute("stylename", aFont.GetStyleName());
rWriter.attribute("width", aFont.GetSize().Width());
rWriter.attribute("height", aFont.GetSize().Height());