[Libreoffice-commits] .: sw/source

Lubos Lunak llunak at kemper.freedesktop.org
Thu Apr 12 08:57:02 PDT 2012


 sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b30c9f7d8eea41fadcf3ff09db9e005f2f266006
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Thu Apr 12 17:55:28 2012 +0200

    ++I_hate_sal_Int32

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 4b918fd..ed18354 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2104,7 +2104,7 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode& rGrfNode, const Size
     }
     // picture description
     ::sax_fastparser::FastAttributeList* attrList = m_pSerializer->createAttrList();
-    attrList->add( XML_id, OString::valueOf( m_anchorId++ ).getStr());
+    attrList->add( XML_id, OString::valueOf( sal_Int32( m_anchorId++ )).getStr());
     attrList->add( XML_name, "Picture" );
     attrList->add( XML_descr, OUStringToOString( rGrfNode.GetDescription(), RTL_TEXTENCODING_UTF8 ).getStr());
     if( GetExport().GetFilter().getVersion( ) != oox::core::ECMA_DIALECT )


More information about the Libreoffice-commits mailing list