diff options
Diffstat (limited to 'sc/source/filter/excel/expop2.cxx')
-rw-r--r-- | sc/source/filter/excel/expop2.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/excel/expop2.cxx b/sc/source/filter/excel/expop2.cxx index 9b77c6514507..a268427ccd69 100644 --- a/sc/source/filter/excel/expop2.cxx +++ b/sc/source/filter/excel/expop2.cxx @@ -64,12 +64,11 @@ ExportBiff5::ExportBiff5( XclExpRootData& rExpData, SvStream& rStrm ): pExcRoot = &GetOldRoot(); pExcRoot->pER = this; // ExcRoot -> XclExpRoot pExcRoot->eDateiTyp = Biff5; - pExcDoc = new ExcDocument( *this ); + pExcDoc.reset( new ExcDocument( *this ) ); } ExportBiff5::~ExportBiff5() { - delete pExcDoc; } FltError ExportBiff5::Write() |