summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-03-03 14:34:06 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-03-03 14:37:44 +0100
commitbeca353017d9d993fc0bef60737899d906c4f003 (patch)
tree648459720e111d8c3d739458e8352255e5d5cc11
parenteb4dc87ee70b92b58ef379065a1165f8887609be (diff)
ensure fonts used by bullet chars are in fontTable.xml (fdo#34814)
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 307c2ea9d602..4d3aba513a19 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2750,6 +2750,7 @@ void DocxAttributeOutput::NumberingLevel( BYTE nLevel,
if ( pFont )
{
+ GetExport().GetId( *pFont ); // ensure font info is written to fontTable.xml
OString aFamilyName( OUStringToOString( OUString( pFont->GetFamilyName() ), RTL_TEXTENCODING_UTF8 ) );
m_pSerializer->singleElementNS( XML_w, XML_rFonts,
FSNS( XML_w, XML_ascii ), aFamilyName.getStr(),