summaryrefslogtreecommitdiff
path: root/sw/inc/ToxTextGenerator.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-14 14:03:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-16 09:01:26 +0200
commit5a6d2392e02294721ef26e38d7c174d9b7faf93e (patch)
tree283d037d516f651b318aa4c618fe0e2297828d39 /sw/inc/ToxTextGenerator.hxx
parent278a093775221f66d5299be54153ff91d168a94c (diff)
loplugin:useuniqueptr in SwTOXBaseSection
Change-Id: I1c4d9cb4189073d83ea2872b87475b8bf79e43db Reviewed-on: https://gerrit.libreoffice.org/59030 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/ToxTextGenerator.hxx')
-rw-r--r--sw/inc/ToxTextGenerator.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ToxTextGenerator.hxx b/sw/inc/ToxTextGenerator.hxx
index 556519701583..6540843f086b 100644
--- a/sw/inc/ToxTextGenerator.hxx
+++ b/sw/inc/ToxTextGenerator.hxx
@@ -63,7 +63,7 @@ public:
* process @p numberOfEntriesToProcess entries.
*/
void
- GenerateText(SwDoc *doc, const std::vector<SwTOXSortTabBase*>& entries,
+ GenerateText(SwDoc *doc, const std::vector<std::unique_ptr<SwTOXSortTabBase>>& entries,
sal_uInt16 indexOfEntryToProcess, sal_uInt16 numberOfEntriesToProcess);
private: