diff options
Diffstat (limited to 'vcl/source/gdi/mtfxmldump.cxx')
-rw-r--r-- | vcl/source/gdi/mtfxmldump.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/mtfxmldump.cxx b/vcl/source/gdi/mtfxmldump.cxx index 84fb0019e9d1..8f490608d1e6 100644 --- a/vcl/source/gdi/mtfxmldump.cxx +++ b/vcl/source/gdi/mtfxmldump.cxx @@ -1331,7 +1331,7 @@ void MetafileXmlDump::writeXml(const GDIMetaFile& rMetaFile, tools::XmlWriter& r rWriter.attribute("width", aFont.GetFontSize().Width()); rWriter.attribute("height", aFont.GetFontSize().Height()); rWriter.attribute("orientation", aFont.GetOrientation().get()); - rWriter.attribute("weight", convertFontWeightToString(aFont.GetWeight())); + rWriter.attribute("weight", convertFontWeightToString(aFont.GetWeightMaybeAskConfig())); rWriter.attribute("vertical", aFont.IsVertical() ? "true" : "false"); rWriter.attribute("emphasis", aFont.GetEmphasisMark() != FontEmphasisMark::NONE ? "true" : "false"); rWriter.attribute("shadow", aFont.IsShadow() ? "true" : "false"); |