diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 08:36:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 11:39:58 +0100 |
commit | 05f12ce00f03be685df9a392001c2ae5f3258edf (patch) | |
tree | 6db99b8cef07948163c9688139da726b8086b571 /lotuswordpro/source/filter/lwpframelayout.cxx | |
parent | 01f7be3806b45343131902580ce821a1a3ac3d19 (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/source/filter/lwpframelayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpframelayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx index 5aa92128f6d8..3e6d9580f4e6 100644 --- a/lotuswordpro/source/filter/lwpframelayout.cxx +++ b/lotuswordpro/source/filter/lwpframelayout.cxx @@ -346,10 +346,10 @@ void LwpFrame::ApplyPadding(XFFrameStyle *pFrameStyle) */ void LwpFrame::ApplyBorders(XFFrameStyle *pFrameStyle) { - XFBorders* pBordres = m_pLayout->GetXFBorders(); + std::unique_ptr<XFBorders> pBordres = m_pLayout->GetXFBorders(); if(pBordres) { - pFrameStyle->SetBorders(pBordres); + pFrameStyle->SetBorders(std::move(pBordres)); } } /** |