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 )
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