summaryrefslogtreecommitdiff
path: root/include/vcl/texteng.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-23 09:38:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-26 11:14:17 +0200
commit3a9d3f271c445641bebd057c4c91279f9b3cd7d5 (patch)
treee87cb0e35a280aab30fd568d26fdab4ebd958286 /include/vcl/texteng.hxx
parent8d09602d3382596facd716d8261a83d6883aa734 (diff)
loplugin:useuniqueptr in TextDoc
Change-Id: I14b90100f0a7d2a97a1648ffc02da51658ffca63 Reviewed-on: https://gerrit.libreoffice.org/53344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/texteng.hxx')
-rw-r--r--include/vcl/texteng.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 671054b8401f..82a60c7af122 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -205,7 +205,7 @@ class VCL_DLLPUBLIC TextEngine : public SfxBroadcaster
Range GetInvalidYOffsets( sal_uInt32 nPortion );
// for Undo/Redo
- void InsertContent( TextNode* pNode, sal_uInt32 nPara );
+ void InsertContent( std::unique_ptr<TextNode> pNode, sal_uInt32 nPara );
TextPaM SplitContent( sal_uInt32 nNode, sal_Int32 nSepPos );
TextPaM ConnectContents( sal_uInt32 nLeftNode );