diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:17:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-09 17:07:29 +0100 |
commit | de8c193833a7c60826015ecaed13d9fb3d1e0aba (patch) | |
tree | d057f3c759ab8ccd917038f6ef30b22b8a5d293b /idlc | |
parent | cfadf87cf51e0681d5fc4059a973ed1630a8203f (diff) |
loplugin:indentation in helpcompiler..io
Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620
Reviewed-on: https://gerrit.libreoffice.org/67558
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astscope.cxx | 2 | ||||
-rw-r--r-- | idlc/source/options.cxx | 3 | ||||
-rw-r--r-- | idlc/source/parser.y | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx index a8b8a159bde0..1ddda3984458 100644 --- a/idlc/source/astscope.cxx +++ b/idlc/source/astscope.cxx @@ -313,7 +313,7 @@ AstDeclaration* AstScope::lookupForAdd(AstDeclaration const * pDecl) const AstDeclaration* pRetDecl = lookupByNameLocal(pDecl->getLocalName()); - return pRetDecl; + return pRetDecl; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index d1dbe1a8680c..04db926dad0d 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -287,7 +287,8 @@ bool Options::initOptions(std::vector< std::string > & rArgs) { return badOption("invalid", option); } - OString param("-D"); param += OString((*first).c_str(), (*first).size()); + OString param("-D"); + param += OString((*first).c_str(), (*first).size()); if (m_options.count("-D") > 0) { OStringBuffer buffer(m_options["-D"]); diff --git a/idlc/source/parser.y b/idlc/source/parser.y index 054df1e81df7..a2b9c645656b 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -491,7 +491,7 @@ interface_decl : identifier { idlc()->setParseState(PS_InterfaceIDSeen); - checkIdentifier($3); + checkIdentifier($3); $$ = $3; } ; @@ -823,7 +823,7 @@ opt_attrflag : } | error ']' { - yyerror("unknown property|attribute flag"); + yyerror("unknown property|attribute flag"); yyerrok; } ; @@ -920,7 +920,7 @@ operation : identifier { idlc()->setParseState(PS_OpIDSeen); - checkIdentifier($3); + checkIdentifier($3); AstInterface * pScope = static_cast< AstInterface * >( idlc()->scopes()->top()); |