summaryrefslogtreecommitdiff
path: root/xmloff
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-05 11:15:35 +0100
commitdc0f9dab100ce02a8c2a275f5f53187bb0df0976 (patch)
tree26919b307cecdff2fa3ff541c4a8f3280d936736 /xmloff
parent9cff030fa15f89fa1009fbb3827ab11c43c20b04 (diff)
The ODG should have office:drawing after office:body, not office:graphics
Diffstat (limited to 'xmloff')
-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 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,