diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 10:32:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 12:34:34 +0200 |
commit | 99e3703a845c643f17b589cf8174677ef88bb89a (patch) | |
tree | aa7096180eaab37e72f8a76161a82f25b1803bac /sw/source/core/layout/objectformattertxtfrm.hxx | |
parent | 3af36642f1b703b698fe2d53e8c064233dd64de8 (diff) |
loplugin:useuniqueptr in SwObjectFormatter
Change-Id: I549173b942de19eb3ff1e74fdee6e72de720988f
Reviewed-on: https://gerrit.libreoffice.org/60373
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/objectformattertxtfrm.hxx')
-rw-r--r-- | sw/source/core/layout/objectformattertxtfrm.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/objectformattertxtfrm.hxx b/sw/source/core/layout/objectformattertxtfrm.hxx index 68640fe9e0de..15667b9ead60 100644 --- a/sw/source/core/layout/objectformattertxtfrm.hxx +++ b/sw/source/core/layout/objectformattertxtfrm.hxx @@ -124,7 +124,7 @@ class SwObjectFormatterTextFrame : public SwObjectFormatter /** method to create an instance of <SwObjectFormatterTextFrame> is necessary. */ - static SwObjectFormatterTextFrame* CreateObjFormatter( + static std::unique_ptr<SwObjectFormatterTextFrame> CreateObjFormatter( SwTextFrame& _rAnchorTextFrame, const SwPageFrame& _rPageFrame, SwLayAction* _pLayAction ); |