[Libreoffice-commits] .: xmloff/source
Fridrich Strba
fridrich at kemper.freedesktop.org
Mon Dec 5 02:15:57 PST 2011
xmloff/source/core/xmlexp.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit dc0f9dab100ce02a8c2a275f5f53187bb0df0976
Author: Fridrich Å trba <fridrich.strba at 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,
More information about the Libreoffice-commits
mailing list