summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-07 16:46:22 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-07 16:48:23 +0100
commit04cc0939abcf55debd2b15efea9b310196259093 (patch)
treec71dbf6669883098a8391aaaf434ff1bd3d5fe10 /sw
parent5797d7633419bb1775056d513e89d1fc0ce461e0 (diff)
ooxml export: add w14 namespace to styles.xml
Change-Id: I60df6ce655cb5bbb05218ec89a1597a277e7aa72
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index dad9d275afa5..f51d89235358 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2889,7 +2889,10 @@ void DocxAttributeOutput::TableRowEnd( sal_uInt32 /*nDepth*/ )
void DocxAttributeOutput::StartStyles()
{
m_pSerializer->startElementNS( XML_w, XML_styles,
- FSNS( XML_xmlns, XML_w ), "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
+ FSNS( XML_xmlns, XML_w ), "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
+ FSNS( XML_xmlns, XML_w14 ), "http://schemas.microsoft.com/office/word/2010/wordml",
+ FSNS( XML_xmlns, XML_mc ), "http://schemas.openxmlformats.org/markup-compatibility/2006",
+ FSNS( XML_mc, XML_Ignorable ), "w14",
FSEND );
DocDefaults();