summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-12 17:55:28 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-12 17:56:49 +0200
commitb30c9f7d8eea41fadcf3ff09db9e005f2f266006 (patch)
treef638245eb137c2189e67d45821cd799f7ebae202
parentb950cf552f794a154f4576ec534513fe696d6e65 (diff)
++I_hate_sal_Int32
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 4b918fd9d0a7..ed18354af7d2 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 )