diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 15:45:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:26:23 +0200 |
commit | 231e16d9091c2d318d99c2f2eb985311e7138127 (patch) | |
tree | 7b8d30778cdb696cdf4c0ec80a58f6b488e4d5e5 /idl/inc/lex.hxx | |
parent | e47172ce2ac486b909ee8f46380dca8efedb6a24 (diff) |
loplugin:redundantpointerops simplify *p.get()
Change-Id: I12517651fb3f777fd08e384992bb3e84b340ad85
Reviewed-on: https://gerrit.libreoffice.org/80382
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl/inc/lex.hxx')
-rw-r--r-- | idl/inc/lex.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx index 7ddc3e9ce246..977cc2b50a36 100644 --- a/idl/inc/lex.hxx +++ b/idl/inc/lex.hxx @@ -159,7 +159,7 @@ public: if(pCurToken != aTokList.begin()) --pCurToken; - return *(*pRetToken).get(); + return *(*pRetToken); } SvToken& GetToken_Next() @@ -171,10 +171,10 @@ public: SetMax(); - return *(*pRetToken).get(); + return *(*pRetToken); } - SvToken& GetToken() const { return *(*pCurToken).get(); } + SvToken& GetToken() const { return *(*pCurToken); } bool ReadIf( char cChar ) { |