summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-05 11:13:44 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-12 16:37:03 +0100
commit35a93227b8306c76407e3183f6bb9e95fa7fb14d (patch)
treebe01f8d5414c75489c230cf967f050d23dbbf965
parentda6cd222d3c72b102cead739686fd5ca71a84861 (diff)
The ODG should have office:drawing after office:body, not office:graphics
signed-off: Thorsten Behrens <tbehrens@suse.com>
-rw-r--r--xmloff/source/core/xmlexp.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 064fb96eda..0c829b1e97 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -1244,6 +1244,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,