diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 04:27:45 +0100 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-23 10:13:11 -0400 |
commit | 2ccb55183e1131039f062abbbd95caf1451c5efe (patch) | |
tree | f016f74d8bc32b60da98548fc717ee5e6f17b4a7 /sc | |
parent | 716f0e2c10ab958a8ce4c22e78d726ac13491f5b (diff) |
increase nCol before next iteratation to prevent loop, fdo#46220
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
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 0e8fee9350ce..16f482687780 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -777,7 +777,11 @@ void ScHTMLExport::WriteTables() while( nCol <= nEndCol ) { if( pDoc->ColHidden(nCol, nTab) ) + { + ++nCol; continue; + } + if( nWidth != ToPixel( pDoc->GetColWidth( nCol, nTab ) ) ) { if( nSpan != 0 ) |