diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 12:06:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-05 07:34:30 +0100 |
commit | 5ee24060e4bb9490afb9f7322a13a52bd33dcd0b (patch) | |
tree | 76156a84f8809f27edb96f8b478e1d10184a4a04 /lotuswordpro/inc | |
parent | 8683fbd30161ef9b7e6f28be339a63b092698896 (diff) |
loplugin:useuniqueptr in XFFrameStyle
Change-Id: I812c9fc7ab297e962994265e69feb80f82adc49a
Reviewed-on: https://gerrit.libreoffice.org/50752
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/xfframestyle.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lotuswordpro/inc/xfilter/xfframestyle.hxx b/lotuswordpro/inc/xfilter/xfframestyle.hxx index 11db8a900896..6fa40fe0bca0 100644 --- a/lotuswordpro/inc/xfilter/xfframestyle.hxx +++ b/lotuswordpro/inc/xfilter/xfframestyle.hxx @@ -66,6 +66,7 @@ #include <xfilter/xfmargins.hxx> #include <xfilter/xfcolor.hxx> #include <xfilter/xfpadding.hxx> +#include <memory> class XFBorders; class XFColumns; @@ -151,10 +152,10 @@ protected: enumXFWrap m_eWrap; XFPadding m_aPad; XFMargins m_aMargins; - XFBorders *m_pBorders; - XFColumns *m_pColumns; - XFShadow *m_pShadow; - XFBGImage *m_pBGImage; + std::unique_ptr<XFBorders> m_pBorders; + std::unique_ptr<XFColumns> m_pColumns; + std::unique_ptr<XFShadow> m_pShadow; + std::unique_ptr<XFBGImage> m_pBGImage; XFColor m_aBackColor; bool m_bProtectContent; bool m_bProtectSize; |