Kaydet (Commit) 285a5ae0 authored tarafından Noel Power's avatar Noel Power

new fix for fdo#47907

Change-Id: Icc5e90ac40056430bfbe36d8da1aaad8716cfee9
üst f29c91f3
......@@ -510,7 +510,7 @@ void ExcTable::FillAsTable( SCTAB nCodeNameIdx )
}
// list of NOTE records, generated by the cell table
aRecList.AppendRecord( mxCellTable->CreateRecord( EXC_ID_NOTE ) );
aRecList.AppendRecord( mxNoteList );
// sheet view settings: WINDOW2, SCL, PANE, SELECTION
aRecList.AppendNewRecord( new XclExpTabViewSettings( GetRoot(), mnScTab ) );
......@@ -589,10 +589,8 @@ void ExcTable::FillAsXmlTable( SCTAB nCodeNameIdx )
aRecList.AppendRecord( GetPivotTableManager().CreatePivotTablesRecord( mnScTab ) );
// list of NOTE records, generated by the cell table
XclExpRecordRef xNotes = mxCellTable->CreateRecord( EXC_ID_NOTE );
XclExpRecordList< XclExpNote >* xNoteList = dynamic_cast< XclExpRecordList< XclExpNote >* >( xNotes.get() );
if( xNoteList != NULL && !xNoteList->IsEmpty() )
aRecList.AppendNewRecord( new XclExpComments( mnScTab, *xNoteList ) );
if( mxNoteList != NULL && !mxNoteList->IsEmpty() )
aRecList.AppendNewRecord( new XclExpComments( mnScTab, *mxNoteList ) );
// web queries
Add( new XclExpWebQueryBuffer( GetRoot() ) );
......
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