summaryrefslogtreecommitdiff
path: root/oox/source/export
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/export')
-rw-r--r--oox/source/export/ThemeExport.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/export/ThemeExport.cxx b/oox/source/export/ThemeExport.cxx
index 511647ee1fc3..f09f9012e246 100644
--- a/oox/source/export/ThemeExport.cxx
+++ b/oox/source/export/ThemeExport.cxx
@@ -81,7 +81,10 @@ void fillAttrList(rtl::Reference<sax_fastparser::FastAttributeList> const& pAttr
model::ThemeFont const& rThemeFont)
{
if (rThemeFont.maTypeface.isEmpty())
+ {
+ pAttrList->add(XML_typeface, ""); // 'typeface' attribute is mandatory
return;
+ }
pAttrList->add(XML_typeface, rThemeFont.maTypeface);