diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 12:10:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-05 07:34:44 +0100 |
commit | 04c9cb68dffa2af15661cc35bc61032b036ed2cd (patch) | |
tree | ffbd215f57de6634445d17bee3149c2bdee304dc /lotuswordpro/inc | |
parent | 5ee24060e4bb9490afb9f7322a13a52bd33dcd0b (diff) |
loplugin:useuniqueptr in XFPageMaster
Change-Id: I0255118c8b94c301e0be50cff358bfc77b84f834
Reviewed-on: https://gerrit.libreoffice.org/50753
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/xfilter/xfpagemaster.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lotuswordpro/inc/xfilter/xfpagemaster.hxx b/lotuswordpro/inc/xfilter/xfpagemaster.hxx index 3a1e5cdcae50..1de301d54125 100644 --- a/lotuswordpro/inc/xfilter/xfpagemaster.hxx +++ b/lotuswordpro/inc/xfilter/xfpagemaster.hxx @@ -65,6 +65,7 @@ #include <xfilter/xfstyle.hxx> #include <xfilter/xfcolor.hxx> #include <xfilter/xfmargins.hxx> +#include <memory> class XFBorders; class XFShadow; @@ -126,14 +127,14 @@ private: enumXFPageUsage m_eUsage; enumXFTextDir m_eTextDir; - XFBorders *m_pBorders; - XFShadow *m_pShadow; + std::unique_ptr<XFBorders> m_pBorders; + std::unique_ptr<XFShadow> m_pShadow; XFColor m_aBackColor; - XFColumns *m_pColumns; - XFBGImage *m_pBGImage; + std::unique_ptr<XFColumns> m_pColumns; + std::unique_ptr<XFBGImage> m_pBGImage; - XFHeaderStyle *m_pHeaderStyle; - XFFooterStyle *m_pFooterStyle; + std::unique_ptr<XFHeaderStyle> m_pHeaderStyle; + std::unique_ptr<XFFooterStyle> m_pFooterStyle; //separator: enumXFAlignType m_eSepAlign; double m_fSepWidth; |