diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-05 11:13:44 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-05 11:15:35 +0100 |
commit | dc0f9dab100ce02a8c2a275f5f53187bb0df0976 (patch) | |
tree | 26919b307cecdff2fa3ff541c4a8f3280d936736 /xmloff | |
parent | add some form control support for basic dialogs (diff) | |
download | core-dc0f9dab100ce02a8c2a275f5f53187bb0df0976.tar.gz core-dc0f9dab100ce02a8c2a275f5f53187bb0df0976.zip |
The ODG should have office:drawing after office:body, not office:graphics
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 7ebd3fdd8c53..a074d03607e1 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -1248,6 +1248,8 @@ void SvXMLExport::ImplExportContent() GetXMLToken( XML_TRUE ) ); eClass = XML_TEXT; } + if ( XML_GRAPHICS == eClass ) + eClass = XML_DRAWING; // <office:body ...> SetBodyAttributes(); SvXMLElementExport aElem( *this, meClass != XML_TOKEN_INVALID, |