diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 16:57:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 08:27:58 +0200 |
commit | 8cfe63155d49f70ffe3bdb1675c9d41485b41b1e (patch) | |
tree | 5b09245a34e7451c131466c47a7e32906a69184a /cui/source/inc | |
parent | 9dce48ad2a25602d6cebc97827e33de3df9ddd65 (diff) |
loplugin:useuniqueptr in FmSearchDialog
Change-Id: Icf2a8f2b334b1a0b9a7028fb1718710dd67c7a81
Reviewed-on: https://gerrit.libreoffice.org/55533
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/cuifmsearch.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx index 7256fe68f4c9..e137885de3c4 100644 --- a/cui/source/inc/cuifmsearch.hxx +++ b/cui/source/inc/cuifmsearch.hxx @@ -85,12 +85,12 @@ class FmSearchDialog final : public ModalDialog /// memorize the currently selected field for every context std::vector<OUString> m_arrContextFields; - FmSearchEngine* m_pSearchEngine; + std::unique_ptr<FmSearchEngine> m_pSearchEngine; Timer m_aDelayedPaint; // see EnableSearchUI - ::svxform::FmSearchConfigItem* m_pConfig; + std::unique_ptr<::svxform::FmSearchConfigItem> m_pConfig; public: /** This can search in different sets of fields. There is a number of contexts; their names are in strContexts (separated by ';'), the user can choose one of them. |