diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-02 09:22:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-02 20:47:18 +0100 |
commit | 5e4e39b2a3db18b5f06070d01d15b35576e4b2cc (patch) | |
tree | a316f3cb39dbe0075244b43f6598780ed6910b65 /sw/inc/unoparagraph.hxx | |
parent | 81cacf8dea7ca2fb7b0d6e86b36b9f9568ff849d (diff) |
loplugin:refcounting in sw
Change-Id: I5d3768503effa002c4a308bfad30d9b56d5365f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111802
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unoparagraph.hxx')
-rw-r--r-- | sw/inc/unoparagraph.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unoparagraph.hxx b/sw/inc/unoparagraph.hxx index eb89ce47249e..dc4d22f896cd 100644 --- a/sw/inc/unoparagraph.hxx +++ b/sw/inc/unoparagraph.hxx @@ -212,7 +212,7 @@ public: struct SwXParagraphEnumeration : public SwSimpleEnumeration_Base { - static SwXParagraphEnumeration* Create( + static rtl::Reference<SwXParagraphEnumeration> Create( css::uno::Reference< css::text::XText > const & xParent, const std::shared_ptr<SwUnoCursor>& pCursor, const CursorType eType, |