[Libreoffice-commits] .: sw/source

Lubos Lunak llunak at kemper.freedesktop.org
Wed May 25 08:08:19 PDT 2011


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

New commits:
commit b9456a7647fdeb7244995947cc2a47e6fe135510
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Wed May 25 17:07:10 2011 +0200

    I hate these retarded sal_Int types

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 2ba5ffd..238c388 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -3469,7 +3469,7 @@ void DocxAttributeOutput::WriteFootnoteEndnotePr( ::sax_fastparser::FSHelperPtr
         fs->singleElementNS( XML_w, XML_numFmt, FSNS( XML_w, XML_val ), fmt, FSEND );
     if( info.nFtnOffset != 0 )
         fs->singleElementNS( XML_w, XML_numStart, FSNS( XML_w, XML_val ),
-            rtl::OString::valueOf( info.nFtnOffset + 1 ).getStr(), FSEND );
+            rtl::OString::valueOf( sal_Int32( info.nFtnOffset + 1 )).getStr(), FSEND );
     if( listtag != 0 ) // we are writting to settings.xml, write also special footnote/endnote list
     { // there are currently only two hardcoded ones ( see FootnotesEndnotes())
         fs->singleElementNS( XML_w, listtag, FSNS( XML_w, XML_id ), "0", FSEND );


More information about the Libreoffice-commits mailing list