Kaydet (Commit) 6068f2f7 authored tarafından Noel Power's avatar Noel Power

fix fdo#52998 xls(x) comment export problems

Change-Id: Ie290199d3b03f6599429d56275eb54661af4a51c
üst b6e6ea34
......@@ -41,6 +41,7 @@
#include "xehelper.hxx"
#include "xecontent.hxx"
#include "xeescher.hxx"
#include "postit.hxx"
using namespace ::oox;
......@@ -2355,8 +2356,10 @@ XclExpCellTable::XclExpCellTable( const XclExpRoot& rRoot ) :
if( xCell )
maRowBfr.AppendCell( xCell, bIsMergedBase );
if ( aAddNoteText.Len() )
mxNoteList->AppendNewRecord( new XclExpNote( GetRoot(), aScPos, NULL, aAddNoteText ) );
ScNotes* pNotes = rDoc.GetNotes( nScTab );
const ScPostIt* pScNote = pNotes ? pNotes->findByAddress( aScPos ) : NULL;
if ( aAddNoteText.Len() || pScNote )
mxNoteList->AppendNewRecord( new XclExpNote( GetRoot(), aScPos, pScNote, aAddNoteText ) );
// other sheet contents
if( pPattern )
......
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