summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-27 09:22:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-28 09:31:16 +0000
commit43b4903db3e925c652e25c34362490f8adc9c5ec (patch)
treeaf12777b72d42280467e8cc19b914b2c7f4f3816 /idl/source
parent7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (diff)
teach stylepolice plugin about ref-counted-pointer naming
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/objects/object.cxx8
-rw-r--r--idl/source/prj/parser.cxx6
2 files changed, 7 insertions, 7 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index d25143ff0887..bc64658800b1 100644
--- a/idl/source/objects/object.cxx
+++ b/idl/source/objects/object.cxx
@@ -49,14 +49,14 @@ void SvMetaClass::ReadContextSvIdl( SvIdlDataBase & rBase,
SvMetaClass * pClass = rBase.ReadKnownClass( rInStm );
if( !pClass )
throw SvParseException( rInStm, "unknown imported interface" );
- SvClassElement xEle;
- xEle.SetClass( pClass );
- aClassElementList.push_back( xEle );
+ SvClassElement aEle;
+ aEle.SetClass( pClass );
+ aClassElementList.push_back( aEle );
rTok = rInStm.GetToken();
if( rTok.IsString() )
{
- xEle.SetPrefix( rTok.GetString() );
+ aEle.SetPrefix( rTok.GetString() );
rInStm.GetToken_Next();
}
return;
diff --git a/idl/source/prj/parser.cxx b/idl/source/prj/parser.cxx
index 48e75741c90d..cb2cd8b83e1f 100644
--- a/idl/source/prj/parser.cxx
+++ b/idl/source/prj/parser.cxx
@@ -299,14 +299,14 @@ void SvIdlParser::ReadInterfaceOrShellEntry(SvMetaClass& rClass)
if( rTok.Is( SvHash_import() ) )
{
SvMetaClass * pClass = ReadKnownClass();
- SvClassElement xEle(pClass);
+ SvClassElement aEle(pClass);
rTok = rInStm.GetToken();
if( rTok.IsString() )
{
- xEle.SetPrefix( rTok.GetString() );
+ aEle.SetPrefix( rTok.GetString() );
rInStm.GetToken_Next();
}
- rClass.aClassElementList.push_back( xEle );
+ rClass.aClassElementList.push_back( aEle );
return;
}
else