Revert "fix fdo#52998 xls(x) comment export problems"
This reverts commit 6068f2f7cf
.
This commit is contained in:
parent
a8bf0571b1
commit
f9a453fb01
1 changed files with 2 additions and 5 deletions
|
@ -41,7 +41,6 @@
|
|||
#include "xehelper.hxx"
|
||||
#include "xecontent.hxx"
|
||||
#include "xeescher.hxx"
|
||||
#include "postit.hxx"
|
||||
|
||||
using namespace ::oox;
|
||||
|
||||
|
@ -2356,10 +2355,8 @@ XclExpCellTable::XclExpCellTable( const XclExpRoot& rRoot ) :
|
|||
if( xCell )
|
||||
maRowBfr.AppendCell( xCell, bIsMergedBase );
|
||||
|
||||
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 ) );
|
||||
if ( aAddNoteText.Len() )
|
||||
mxNoteList->AppendNewRecord( new XclExpNote( GetRoot(), aScPos, NULL, aAddNoteText ) );
|
||||
|
||||
// other sheet contents
|
||||
if( pPattern )
|
||||
|
|
Loading…
Reference in a new issue