summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-07 14:19:22 +0200
committerNoel Grandin <noel@peralex.com>2016-03-07 14:55:55 +0200
commitb2fb84499e1f75735e8fd90bc2eece3fed9af5f6 (patch)
tree186f3a6947b4d5feffe1326f66021102fac88c83 /idl/inc
parentc89f73a6033b28484f5e10054b542fa69a9fe475 (diff)
loplugin:write only fields
Change-Id: Ia0fb487c5590e096659b81f76c4dc543e184c59c
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/lex.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index 7a715206211e..1891e3962006 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -110,7 +110,6 @@ class SvTokenStream
sal_uLong nMaxPos;
SvFileStream * pInStream;
- SvStream & rInStream;
OUString aFileName;
std::vector<std::unique_ptr<SvToken> > aTokList;
std::vector<std::unique_ptr<SvToken> >::iterator pCurToken;
@@ -130,7 +129,7 @@ class SvTokenStream
void FillTokenList();
sal_uLong GetNumber();
bool MakeToken( SvToken & );
- bool IsEof() const { return rInStream.IsEof(); }
+ bool IsEof() const { return pInStream->IsEof(); }
void SetMax()
{
sal_uLong n = Tell();
@@ -153,7 +152,7 @@ public:
~SvTokenStream();
const OUString & GetFileName() const { return aFileName; }
- SvStream & GetStream() { return rInStream; }
+ SvStream & GetStream() { return *pInStream; }
SvToken& GetToken_PrevAll()
{