summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtww8.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-25 14:09:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 08:37:56 +0200
commit8ceb8e9d9bf352d5a79894ecb04326284b642810 (patch)
treeaff1a6cf2178e48dfb9ba687446da49c038d29f5 /sw/source/filter/ww8/wrtww8.hxx
parent337d0a4f602b879e73367586b9090dcc94898eb3 (diff)
loplugin:useuniqueptr in WW8Export
Change-Id: I1211daba231e4c5557dad06e8392a28fca922ab7 Reviewed-on: https://gerrit.libreoffice.org/58018 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.hxx')
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 80cb2404aadf..dde8717443c6 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -959,15 +959,15 @@ private:
class WW8Export : public MSWordExportBase
{
public:
- ww::bytes* pO; ///< Buffer
+ ww::bytes* pO; ///< Buffer
SvStream *pTableStrm, *pDataStrm; ///< Streams for WW97 Export
- WW8Fib* pFib; ///< File Information Block
- WW8Dop* pDop; ///< DOcument Properties
- WW8_WrPlcFootnoteEdn *pFootnote; ///< Footnotes - structure to remember them, and output
- WW8_WrPlcFootnoteEdn *pEdn; ///< Endnotes - structure to remember them, and output
- WW8_WrPlcSepx* pSepx; ///< Sections/headers/footers
+ std::unique_ptr<WW8Fib> pFib; ///< File Information Block
+ std::unique_ptr<WW8Dop> pDop; ///< DOcument Properties
+ std::unique_ptr<WW8_WrPlcFootnoteEdn> pFootnote; ///< Footnotes - structure to remember them, and output
+ std::unique_ptr<WW8_WrPlcFootnoteEdn> pEdn; ///< Endnotes - structure to remember them, and output
+ std::unique_ptr<WW8_WrPlcSepx> pSepx; ///< Sections/headers/footers
bool m_bDot; ///< Template or document.