summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-08-05 09:26:13 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-08-05 09:26:55 +0200
commit10560949f90e08fe4a04dd91c7d388c4998100e8 (patch)
tree20af7fd5c2af07db9bffce157dfecf3d290054b9
parentaecdaa718612285306335e307b242d6b9166052e (diff)
sw: use std::unique_ptr in docxattributeoutput
Change-Id: Ie551cc9c1de20c017d8cf9f4d6f060729f9c245b
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx1
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.hxx5
2 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e480f481af1f..9e2dc5e0d120 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -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 ),
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index da5a263cae12..a2e2599a4409 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -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