diff options
author | Michael T. Whiteley <mike@whiteley.org> | 2011-12-07 02:33:51 -0800 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-12-08 11:32:41 +0200 |
commit | dcfd4beb213c551f6ef6ba379651bf303bd9017a (patch) | |
tree | a819f50716357c2a5561f6b9a09809cfc52d7dbf /xmlhelp | |
parent | ad2eb6c4ba3ca36e2302c721a106dac80d266325 (diff) |
childs -> children
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index c472f9ae6d1f..ab5d956ae2f8 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -60,21 +60,21 @@ namespace treeview { TVDom( TVDom* arent = 0 ) : kind( other ), parent( arent ), - childs( 0 ) + children( 0 ) { } ~TVDom() { - for( unsigned i = 0; i < childs.size(); ++i ) - delete childs[i]; + for( unsigned i = 0; i < children.size(); ++i ) + delete children[i]; } TVDom* newChild() { - childs.push_back( new TVDom( this ) ); - return childs.back(); + children.push_back( new TVDom( this ) ); + return children.back(); } @@ -166,7 +166,7 @@ namespace treeview { rtl::OUString targetURL; TVDom *parent; - std::vector< TVDom* > childs; + std::vector< TVDom* > children; }; } @@ -491,9 +491,9 @@ extern "C" void data_handler( void *userData, TVChildTarget::TVChildTarget( const ConfigData& configData,TVDom* tvDom ) { - Elements.resize( tvDom->childs.size() ); + Elements.resize( tvDom->children.size() ); for( unsigned i = 0; i < Elements.size(); ++i ) - Elements[i] = new TVRead( configData,tvDom->childs[i] ); + Elements[i] = new TVRead( configData,tvDom->children[i] ); } @@ -541,9 +541,9 @@ TVChildTarget::TVChildTarget( const Reference< XMultiServiceFactory >& xMSF ) // now TVDom holds the relevant information - Elements.resize( tvDom.childs.size() ); + Elements.resize( tvDom.children.size() ); for( unsigned i = 0; i < Elements.size(); ++i ) - Elements[i] = new TVRead( configData,tvDom.childs[i] ); + Elements[i] = new TVRead( configData,tvDom.children[i] ); } |