summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,