summaryrefslogtreecommitdiff
path: root/include/svx/srchdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-31 13:45:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-04 08:41:02 +0200
commita7099bb575851b9d6d83f2c34bed61c26dbb074b (patch)
treec85d8b408e8e3b5d84897150cab81e8cd08dc2d3 /include/svx/srchdlg.hxx
parentad90a73e1e8889dc198b514cddaea4857541ae4f (diff)
loplugin:useuniqueptr in SvxSearchDialog
Change-Id: I9f3dbe393844e4fca5637f23d3da5ddf591e487c Reviewed-on: https://gerrit.libreoffice.org/55235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/srchdlg.hxx')
-rw-r--r--include/svx/srchdlg.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index e879068db4f4..349610fd74d5 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -127,9 +127,9 @@ public:
virtual void Activate() override;
const SearchAttrItemList* GetSearchItemList() const
- { return pSearchList; }
+ { return pSearchList.get(); }
const SearchAttrItemList* GetReplaceItemList() const
- { return pReplaceList; }
+ { return pReplaceList.get(); }
TransliterationFlags GetTransliterationFlags() const;
@@ -219,14 +219,14 @@ private:
std::vector<OUString> aSearchStrings;
std::vector<OUString> aReplaceStrings;
- std::unique_ptr<SearchDlg_Impl> pImpl;
- SearchAttrItemList* pSearchList;
- SearchAttrItemList* pReplaceList;
- SvxSearchItem* pSearchItem;
+ std::unique_ptr<SearchDlg_Impl> pImpl;
+ std::unique_ptr<SearchAttrItemList> pSearchList;
+ std::unique_ptr<SearchAttrItemList> pReplaceList;
+ std::unique_ptr<SvxSearchItem> pSearchItem;
- SvxSearchController* pSearchController;
- SvxSearchController* pOptionsController;
- SvxSearchController* pFamilyController;
+ std::unique_ptr<SvxSearchController> pSearchController;
+ std::unique_ptr<SvxSearchController> pOptionsController;
+ std::unique_ptr<SvxSearchController> pFamilyController;
mutable TransliterationFlags
nTransliterationFlags;