diff options
-rw-r--r-- | sc/source/filter/excel/excdoc.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/filter/excel/excdoc.cxx b/sc/source/filter/excel/excdoc.cxx index a8bfbf77c5d3..9cf433d50c78 100644 --- a/sc/source/filter/excel/excdoc.cxx +++ b/sc/source/filter/excel/excdoc.cxx @@ -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 ) { |