diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-09 15:27:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-11 08:40:26 +0100 |
commit | 3c7b2b7279bc5d4fd72ae0b1d1fc50812792ed08 (patch) | |
tree | 7a9ac58ee79851e6764e510be613755816d87b99 /sw/source/core/layout/laycache.cxx | |
parent | 108d94db881626dd35fe0decb1de184f7d2fc2bd (diff) |
use unique_ptr in SwLayHelper
Change-Id: I6b7ee99bb38df882853e3695cd03dcc745c92318
Reviewed-on: https://gerrit.libreoffice.org/66035
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/laycache.cxx')
-rw-r--r-- | sw/source/core/layout/laycache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx index 014a9fc82ecb..99e0c83bf184 100644 --- a/sw/source/core/layout/laycache.cxx +++ b/sw/source/core/layout/laycache.cxx @@ -515,7 +515,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache, * a guess, but a guess with statistical background. */ SwLayHelper::SwLayHelper( SwDoc *pD, SwFrame* &rpF, SwFrame* &rpP, SwPageFrame* &rpPg, - SwLayoutFrame* &rpL, SwActualSection* &rpA, + SwLayoutFrame* &rpL, std::unique_ptr<SwActualSection> &rpA, sal_uLong nNodeIndex, bool bCache ) : mrpFrame( rpF ) , mrpPrv( rpP ) |