xmloff/source/core/xmlexp.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit dc0f9dab100ce02a8c2a275f5f53187bb0df0976
Author: Fridrich Å trba <fridrich.st...@bluewin.ch>
Date:   Mon Dec 5 11:13:44 2011 +0100

    The ODG should have office:drawing after office:body, not office:graphics

diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 7ebd3fd..a074d03 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,
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to