diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-09-04 19:51:21 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-09-06 17:35:51 +0200 |
commit | cf6d2e2f8319fb4a2b15b9a805699312fe7305f9 (patch) | |
tree | 7510d42ff21fe5c93af6500acd2c3bc71854f4bb /sw | |
parent | 7a045f48bad2177538c43f76019c1caecdd5baf7 (diff) |
make sure a font from SvxFontItem is written to fontTable.xml
Change-Id: Ie1cd6aeded226da49e8ff10c262a00d7f95228f6
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index b5165e77490e..652a7cc6e3be 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -3072,6 +3072,7 @@ void DocxAttributeOutput::CharFont( const SvxFontItem& rFont) { if (!m_pFontsAttrList) m_pFontsAttrList = m_pSerializer->createAttrList(); + GetExport().GetId( rFont ); // ensure font info is written to fontTable.xml OUString sFontName(rFont.GetFamilyName()); OString sFontNameUtf8 = OUStringToOString(sFontName, RTL_TEXTENCODING_UTF8); m_pFontsAttrList->add(FSNS(XML_w, XML_ascii), sFontNameUtf8); |