[Libreoffice-commits] .: sc/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Thu Mar 22 20:36:42 PDT 2012
sc/source/filter/html/htmlexp.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit c4744121f12fde51de2d92d2442d590d93725ffc
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Fri Mar 23 04:27:45 2012 +0100
increase nCol before next iteratation to prevent loop, fdo#46220
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 538eb09..af0689a 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 )
More information about the Libreoffice-commits
mailing list