Kaydet (Commit) 10560949 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: use std::unique_ptr in docxattributeoutput

Change-Id: Ie551cc9c1de20c017d8cf9f4d6f060729f9c245b
üst aecdaa71
......@@ -8406,7 +8406,6 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport &rExport, FSHelperPtr pSeri
m_pFootnotesList( new ::docx::FootnotesList() ),
m_pEndnotesList( new ::docx::FootnotesList() ),
m_footnoteEndnoteRefTag( 0 ),
m_pSectionInfo( NULL ),
m_pRedlineData( NULL ),
m_nRedlineId( 0 ),
m_bOpenedSectPr( false ),
......
......@@ -35,7 +35,6 @@
#include <fldbas.hxx>
#include <vector>
#include <boost/scoped_ptr.hpp>
#include <boost/optional.hpp>
#include <oox/export/vmlexport.hxx>
#include <oox/export/drawingml.hxx>
......@@ -742,7 +741,7 @@ private:
std::unique_ptr<docx::FootnotesList> m_pFootnotesList;
std::unique_ptr<docx::FootnotesList> m_pEndnotesList;
int m_footnoteEndnoteRefTag;
boost::scoped_ptr< const WW8_SepInfo > m_pSectionInfo;
std::unique_ptr< const WW8_SepInfo > m_pSectionInfo;
/// Redline data to remember in the text run.
const SwRedlineData *m_pRedlineData;
......@@ -878,7 +877,7 @@ private:
OString fontKey;
};
boost::scoped_ptr<TableReference> m_tableReference;
std::unique_ptr<TableReference> m_tableReference;
std::map< OUString, EmbeddedFontRef > fontFilesMap; // font file url to data
......
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