Kaydet (Commit) 771b9d27 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#74521: Only pick cell notes for that sheet, and skip the rest.

Change-Id: I06a069e835eb7f2f90d34f4fcdfd935aff0234de
üst 7d71fd48
......@@ -421,7 +421,12 @@ void ExcTable::FillAsTable( SCTAB nCodeNameIdx )
rDoc.GetAllNoteEntries(aNotes);
std::vector<sc::NoteEntry>::const_iterator it = aNotes.begin(), itEnd = aNotes.end();
for (; it != itEnd; ++it)
{
if (it->maPos.Tab() != mnScTab)
continue;
mxNoteList->AppendNewRecord(new XclExpNote(GetRoot(), it->maPos, it->mpNote, OUString()));
}
if( GetOutput() != EXC_OUTPUT_BINARY )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment