resolved fdo#45032 Calc export to HTML with graphics failed
Fixed a misconception in transition from List to to ptr_vector of commit
db599f64e6
, List::Next() returned NULL when at
end of list, mimic that.
This commit is contained in:
parent
7afa76599c
commit
d180de79b8
1 changed files with 6 additions and 3 deletions
|
@ -876,11 +876,14 @@ void ScHTMLExport::WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab )
|
|||
size_t ListSize = aGraphList.size();
|
||||
for ( size_t i = 0; i < ListSize; ++i )
|
||||
{
|
||||
pGraphEntry = &aGraphList[ i ];
|
||||
if ( pGraphEntry->bInCell && pGraphEntry->aRange.In( aPos ) )
|
||||
ScHTMLGraphEntry* pE = &aGraphList[ i ];
|
||||
if ( pE->bInCell && pE->aRange.In( aPos ) )
|
||||
{
|
||||
if ( pGraphEntry->aRange.aStart == aPos )
|
||||
if ( pE->aRange.aStart == aPos )
|
||||
{
|
||||
pGraphEntry = pE;
|
||||
break; // for
|
||||
}
|
||||
else
|
||||
return ; // ist ein Col/RowSpan, Overlapped
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue