Re: [PUSHED][PATCH] convert tools/table.hxx to std::map in ScEEParser class in SC module

2012-03-15 Thread Ivan Timofeev
Hi Noel, pushed, thank you! Ivan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: [PATCH] convert tools/table.hxx to std::map in ScEEParser class in SC module

2012-03-14 Thread Noel Grandin
Hi Updated patch attached. Thanks, Noel Grandin On 2012-03-12 14:33, Ivan Timofeev wrote: Hi Noel, for ( SCCOL nCol = nStartCol; nCol <= nEndCol; nCol++ ) { - sal_uInt16 nWidth = (sal_uInt16)(sal_uLong) pColWidths->Get( nCol ); + sal_uInt16 nWidth = 0; + if ( rColWidths.find( nCol )

Re: [PATCH] convert tools/table.hxx to std::map in ScEEParser class in SC module

2012-03-12 Thread Ivan Timofeev
Hi Noel, for ( SCCOL nCol = nStartCol; nCol <= nEndCol; nCol++ ) { - sal_uInt16 nWidth = (sal_uInt16)(sal_uLong) pColWidths->Get( nCol ); + sal_uInt16 nWidth = 0; + if ( rColWidths.find( nCol ) != rColWidths.end() ) + nWidth = rColWidths[ nCol ]; so this code performs a search twi

[PATCH] convert tools/table.hxx to std::map in ScEEParser class in SC module

2012-03-09 Thread Noel Grandin
Hi License statement already on file. Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html 0001-Convert-tools-table.hxx-to-std-map-in-ScEEParser-cla.patch Description: application/mbox ___ LibreOffice mailing list LibreOffice@