summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpfile.h
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 11:25:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-07 08:48:12 +0200
commitcf67ffaacba130a0c572f26cbd14a7492d9b53b8 (patch)
treeac3d41e3001040b304e20964034b802b37abbe8b /hwpfilter/source/hwpfile.h
parentfda27303cfb84ef182696787878dba06c4a129da (diff)
loplugin:useuniqueptr in HWPFile
Change-Id: I0eb3f09b5ca82ce4810aafbb7d5d53f1faa00e3f Reviewed-on: https://gerrit.libreoffice.org/60111 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter/source/hwpfile.h')
-rw-r--r--hwpfilter/source/hwpfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h
index 36655105a9f5..88e2151a5c9a 100644
--- a/hwpfilter/source/hwpfile.h
+++ b/hwpfilter/source/hwpfile.h
@@ -165,7 +165,7 @@ class DLLEXPORT HWPFile
/**
* Sets current HIODev
*/
- HIODev *SetIODevice( HIODev *hiodev );
+ std::unique_ptr<HIODev> SetIODevice( std::unique_ptr<HIODev> hiodev );
/**
* Reads all information of hwp file from stream