Revert "fix fdo#52998 xls(x) comment export problems"

This reverts commit 6068f2f7cf.
This commit is contained in:
Noel Power 2012-08-03 08:57:16 +01:00
parent a8bf0571b1
commit f9a453fb01

View file

@ -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 )