summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-16 14:22:08 +0100
committerNoel Power <noel.power@suse.com>2013-05-16 14:24:46 +0100
commit360e017a7b58cc2c52ee13bca2836040396eabe0 (patch)
tree8386da9814af53e4088222ca4b45251fcc0978f7 /sc
parent32e716528560c22c8ec881ed88fd7a99a27c9efd (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/worksheethelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index f22c27a32fec..f18ee4942e08 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 ) );
}
}