sc/source/filter/oox/worksheethelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 360e017a7b58cc2c52ee13bca2836040396eabe0 Author: Noel Power <noel.po...@suse.com> Date: Thu May 16 14:22:08 2013 +0100 partial fix for bnc#819865 Imported column widths were wrong because we were iterating over the wrong column ( due to a typo I guess ) nStartCol -> nCol Change-Id: I0504bca597eb313c2c28d1a26ca03eec41ebbc34 diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index f22c27a..f18ee49 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1183,7 +1183,7 @@ void WorksheetGlobals::convertColumns( OutlineLevelVec& orColLevels, { for( SCCOL nCol = nStartCol; nCol <= nEndCol; ++nCol ) { - rDoc.SetColWidthOnly( nStartCol, nTab, (sal_uInt16)sc::HMMToTwips( nWidth ) ); + rDoc.SetColWidthOnly( nCol, nTab, (sal_uInt16)sc::HMMToTwips( nWidth ) ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits