summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc/xfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 11:20:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-05 07:34:08 +0100
commit202aba9a07610b0f70e4daa13a2629f31dc29b62 (patch)
tree0d6202be303786cc2d85e93baac38d983e947c38 /lotuswordpro/inc/xfilter
parentc0c42c56159d1d1185702cb0c400e460727dc168 (diff)
loplugin:useuniqueptr in XFHeaderStyle
Change-Id: Id1e29fde9d6dfcd3c816967272c80ace85d515cc Reviewed-on: https://gerrit.libreoffice.org/50750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc/xfilter')
-rw-r--r--lotuswordpro/inc/xfilter/xfheaderstyle.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/lotuswordpro/inc/xfilter/xfheaderstyle.hxx b/lotuswordpro/inc/xfilter/xfheaderstyle.hxx
index 16795bcf56d1..3207694bcb51 100644
--- a/lotuswordpro/inc/xfilter/xfheaderstyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfheaderstyle.hxx
@@ -65,6 +65,7 @@
#include <xfilter/xfborders.hxx>
#include <xfilter/xfpadding.hxx>
#include <xfilter/xfshadow.hxx>
+#include <memory>
/**
* @brief
@@ -124,10 +125,10 @@ protected:
double m_fHeight;
double m_fMinHeight;
XFMargins m_aMargin;
- XFShadow* m_pShadow;
+ std::unique_ptr<XFShadow> m_pShadow;
XFPadding m_aPadding;
- XFBorders *m_pBorders;
- XFBGImage *m_pBGImage;
+ std::unique_ptr<XFBorders> m_pBorders;
+ std::unique_ptr<XFBGImage> m_pBGImage;
XFColor m_aBackColor;
};