summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 14:15:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 08:34:42 +0000
commit7a60e90ef05c84923f83882efc01c33fef1ed305 (patch)
tree4c49f1ab14fda2a79e0d8efdb731d4d6fe924eba /idl/inc
parenta9367c1b39600d5a5e2d0067113f06ad59cc37a1 (diff)
new loplugin: useuniqueptr: helpcompiler..io
Change-Id: I6b394163c144e6b5540cb160abb613d56fe327de Reviewed-on: https://gerrit.libreoffice.org/33165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/lex.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index 102a08882343..40e7fe1f24a9 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -106,8 +106,8 @@ class SvTokenStream
OString aStrFalse;
sal_uLong nMaxPos;
- SvFileStream * pInStream;
- OUString aFileName;
+ std::unique_ptr<SvFileStream> pInStream;
+ OUString aFileName;
std::vector<std::unique_ptr<SvToken> > aTokList;
std::vector<std::unique_ptr<SvToken> >::iterator pCurToken;