summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-07 08:36:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-07 11:39:58 +0100
commit05f12ce00f03be685df9a392001c2ae5f3258edf (patch)
tree6db99b8cef07948163c9688139da726b8086b571 /lotuswordpro/inc
parent01f7be3806b45343131902580ce821a1a3ac3d19 (diff)
use unique_ptr in lotuswordpro
Change-Id: I49ae12639d1a5adab25407115cf65ebcfe3936c9 Reviewed-on: https://gerrit.libreoffice.org/65920 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r--lotuswordpro/inc/xfilter/xfframestyle.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfheaderstyle.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfpagemaster.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/inc/xfilter/xfframestyle.hxx b/lotuswordpro/inc/xfilter/xfframestyle.hxx
index 20ec941fa6de..0af5e546637d 100644
--- a/lotuswordpro/inc/xfilter/xfframestyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfframestyle.hxx
@@ -100,7 +100,7 @@ public:
/**
* @descr: set the border property of the frame.
*/
- void SetBorders(XFBorders *pBorders);
+ void SetBorders(std::unique_ptr<XFBorders> pBorders);
/**
* @descr: set the column property of the frame.
diff --git a/lotuswordpro/inc/xfilter/xfheaderstyle.hxx b/lotuswordpro/inc/xfilter/xfheaderstyle.hxx
index 6bc8dd6f1977..7e5a3bda9e92 100644
--- a/lotuswordpro/inc/xfilter/xfheaderstyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfheaderstyle.hxx
@@ -105,7 +105,7 @@ public:
/**
* @descr Set header borders.
*/
- void SetBorders(XFBorders *pBorders);
+ void SetBorders(std::unique_ptr<XFBorders> pBorders);
void SetBackImage(std::unique_ptr<XFBGImage>& rImage);
diff --git a/lotuswordpro/inc/xfilter/xfpagemaster.hxx b/lotuswordpro/inc/xfilter/xfpagemaster.hxx
index ee326a88ab2c..40d19074af58 100644
--- a/lotuswordpro/inc/xfilter/xfpagemaster.hxx
+++ b/lotuswordpro/inc/xfilter/xfpagemaster.hxx
@@ -90,7 +90,7 @@ public:
void SetPageUsage(enumXFPageUsage usage);
- void SetBorders(XFBorders *pBorders);
+ void SetBorders(std::unique_ptr<XFBorders> pBorders);
void SetShadow(XFShadow *pShadow);