diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-28 12:04:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 08:37:43 +0200 |
commit | 1649f48917e04549cfffddff322cc8fa6d4b42c1 (patch) | |
tree | ffdbbe066678d96c2fabcb2887145e678edd2cd6 /include | |
parent | 51d93012d5d947c458c58a92b10b6411e1ebb43d (diff) |
loplugin:useuniqueptr in SvxRedlinTable
Change-Id: I9d2f7516f84351e5a1447a4a78398d8c33bd211a
Reviewed-on: https://gerrit.libreoffice.org/55224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/ctredlin.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index b778bd8015bc..c6c15baf5148 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -41,6 +41,7 @@ #include <vcl/vclptr.hxx> #include <vcl/tabpage.hxx> #include <vcl/tabctrl.hxx> +#include <memory> namespace utl { class SearchParam; @@ -126,7 +127,7 @@ private: Color maEntryColor; Image maEntryImage; OUString maEntryString; - utl::TextSearch* pCommentSearcher; + std::unique_ptr<utl::TextSearch> pCommentSearcher; Link<const SvSortData*,sal_Int32> aColCompareLink; protected: |