summaryrefslogtreecommitdiff
path: root/scripting/source/provider/BrowseNodeFactoryImpl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-20 10:34:01 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 08:32:47 +0200
commit5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch)
tree2407c6fc040a795e6ffc69de02ba940285c04c7f /scripting/source/provider/BrowseNodeFactoryImpl.cxx
parent5bb308a9ad16f6002486a60e4a753693818580b6 (diff)
new plugin stylepolice
check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'scripting/source/provider/BrowseNodeFactoryImpl.cxx')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index e8d61bdb3198..cc63505399fd 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -428,7 +428,7 @@ public:
{
if ( hasChildNodes() )
{
- vXBrowseNodes m_vNodes;
+ vXBrowseNodes aVNodes;
Sequence < Reference< browse::XBrowseNode > > nodes =
m_xWrappedBrowseNode->getChildNodes();
for ( sal_Int32 i=0; i<nodes.getLength(); i++ )
@@ -436,13 +436,13 @@ public:
Reference< browse::XBrowseNode > xBrowseNode = nodes[ i ];
OSL_ENSURE( xBrowseNode.is(), "DefaultBrowseNode::getChildNodes(): Invalid BrowseNode" );
if( xBrowseNode.is() )
- m_vNodes.push_back( new DefaultBrowseNode( m_xCtx, xBrowseNode ) );
+ aVNodes.push_back( new DefaultBrowseNode( m_xCtx, xBrowseNode ) );
}
- ::std::sort( m_vNodes.begin(), m_vNodes.end(), alphaSortForBNodes() );
- Sequence < Reference< browse::XBrowseNode > > children( m_vNodes.size() );
- vXBrowseNodes::const_iterator it = m_vNodes.begin();
- for ( sal_Int32 i=0; it != m_vNodes.end() && i<children.getLength(); i++, ++it )
+ ::std::sort( aVNodes.begin(), aVNodes.end(), alphaSortForBNodes() );
+ Sequence < Reference< browse::XBrowseNode > > children( aVNodes.size() );
+ vXBrowseNodes::const_iterator it = aVNodes.begin();
+ for ( sal_Int32 i=0; it != aVNodes.end() && i<children.getLength(); i++, ++it )
{
children[ i ].set( *it );
}