diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 04:27:45 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 04:36:22 +0100 |
commit | c4744121f12fde51de2d92d2442d590d93725ffc (patch) | |
tree | c44762c12c61071d0f515951f1887f78726ee567 /sc | |
parent | e4380ae1e7d5330e26f4a382f3a86a6059b9b53f (diff) |
increase nCol before next iteratation to prevent loop, fdo#46220
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/html/htmlexp.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index 538eb092abbc..af0689abe279 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -769,7 +769,11 @@ void ScHTMLExport::WriteTables() while( nCol <= nEndCol ) { if( pDoc->ColHidden(nCol, nTab) ) + { + ++nCol; continue; + } + if( nWidth != ToPixel( pDoc->GetColWidth( nCol, nTab ) ) ) { if( nSpan != 0 ) |