summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porftn.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-20 15:54:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-22 08:27:36 +0200
commitddfed109ebaa854582bc59750a1988af3f6ad3d6 (patch)
tree43b1c53a27afab60300232e73e9321adef342c87 /sw/source/core/text/porftn.hxx
parent9590c68852177056602342dd874b8818eeb57e82 (diff)
loplugin:useuniqueptr in SwFieldPortion
Change-Id: I7b87652c86ff682760120f3992b33e27f4eaeaed Reviewed-on: https://gerrit.libreoffice.org/59365 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/porftn.hxx')
-rw-r--r--sw/source/core/text/porftn.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/porftn.hxx b/sw/source/core/text/porftn.hxx
index bb0b625ce28e..7b0ae819dbe0 100644
--- a/sw/source/core/text/porftn.hxx
+++ b/sw/source/core/text/porftn.hxx
@@ -50,8 +50,8 @@ public:
class SwFootnoteNumPortion : public SwNumberPortion
{
public:
- SwFootnoteNumPortion( const OUString &rExpand, SwFont *pFntL )
- : SwNumberPortion( rExpand, pFntL, true, false, 0, false )
+ SwFootnoteNumPortion( const OUString &rExpand, std::unique_ptr<SwFont> pFntL )
+ : SwNumberPortion( rExpand, std::move(pFntL), true, false, 0, false )
{ SetWhichPor( POR_FTNNUM ); }
};