summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-14 21:58:45 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-15 03:58:32 +0200
commitc16dcf919affd803f4a52cec79be44b62b7a92ee (patch)
tree81aae1a7e51defdc0d68d406c11dc1d8fa81f92d /sc
parentd1a6c61a51f4a15d3818ece4336f16b0a96299eb (diff)
correct font name export for dxf to xlsx
Change-Id: Ice59382e13ca91f37f7140ee5bc5b5841a61acce
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestyle.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index e391a3f3f85d..2a7937487847 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -1089,6 +1089,8 @@ void XclExpDxfFont::SaveXml(XclExpXmlStream& rStrm)
if (maDxfData.pFontAttr)
{
OUString aFontName = (*maDxfData.pFontAttr)->GetFamilyName();
+
+ aFontName = XclTools::GetXclFontName(aFontName);
if (!aFontName.isEmpty())
{
rStyleSheet->singleElement(XML_name,