[Libreoffice-commits] .: Branch 'libreoffice-3-4' - xmloff/source

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Dec 12 07:37:20 PST 2011


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

New commits:
commit 35a93227b8306c76407e3183f6bb9e95fa7fb14d
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
    
    signed-off: Thorsten Behrens <tbehrens at suse.com>

diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 064fb96..0c829b1 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,


More information about the Libreoffice-commits mailing list