diff options
author | Noel Power <noel.power@novell.com> | 2012-08-03 08:57:16 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-08-03 09:06:43 +0100 |
commit | f9a453fb01908e16032abdbf1f895666e1d260a6 (patch) | |
tree | ddf2d17cd7d6906241fdb2aadcf721433a25f815 | |
parent | a8bf0571b1bb8c46502392a7ffc57d07f967d2b1 (diff) |
Revert "fix fdo#52998 xls(x) comment export problems"
This reverts commit 6068f2f7cf5d66c68241b3831851b413b2e0b3ba.
-rw-r--r-- | sc/source/filter/excel/xetable.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 20bff222851f..d611077744fb 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -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 ) |