summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-06-13 12:07:33 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-06-13 12:16:11 +0200
commitc7e237045df1e0ed01c47ce85923cd182a101bc7 (patch)
tree207f0e5a12ca567d939c4aa3e89661896ce0a944 /sw
parent5bf554a89183c983cc492bcdcbc78967f3dbc415 (diff)
fdo#58819 VML export: handle objects anchored in the header / footer
Previously such shapes landed in the middle of section properties. Change-Id: I7993eaa721e2b53d8adb1cbdee40992bbeb11416
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 40dc957fcb0b..99c646068095 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -599,12 +599,14 @@ void DocxExport::WriteHeaderFooter( const SwFmt& rFmt, bool bHeader, const char*
// switch the serializer to redirect the output to word/styles.xml
m_pAttrOutput->SetSerializer( pFS );
+ m_pVMLExport->SetFS( pFS );
// do the work
WriteHeaderFooterText( rFmt, bHeader );
// switch the serializer back
m_pAttrOutput->SetSerializer( m_pDocumentFS );
+ m_pVMLExport->SetFS( m_pDocumentFS );
// close the tag
sal_Int32 nReference;