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 /cui | |
parent | ad2eb6c4ba3ca36e2302c721a106dac80d266325 (diff) |
childs -> children
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/acccfg.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 12 | ||||
-rw-r--r-- | cui/source/customize/selector.cxx | 12 | ||||
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 10 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/selector.hxx | 4 |
7 files changed, 22 insertions, 22 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 94bd8e3772e0..e976a9d41a71 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -1154,7 +1154,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, SelectHdl, Control*, pListBox ) TAccInfo* pU1 = new TAccInfo(-1, -1, pUserData->m_aKey); SvLBoxEntry* pE1 = aKeyBox.InsertEntry( pUserData->m_aKey.GetName(), 0L, sal_True, LIST_APPEND ); pE1->SetUserData(pU1); - pE1->EnableChildsOnDemand( sal_False ); + pE1->EnableChildrenOnDemand( sal_False ); } pIt = aEntriesBox.Next(pIt); } diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index f2917e1f64d1..b25e2e443fab 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -642,7 +642,7 @@ void SfxConfigGroupListBox_Impl::Init(const css::uno::Reference< css::lang::XMul String aTitle(pImp->m_sDlgMacros); SvLBoxEntry *pNewEntry = InsertEntry( aTitle, NULL ); pNewEntry->SetUserData( pInfo ); - pNewEntry->EnableChildsOnDemand( sal_True ); + pNewEntry->EnableChildrenOnDemand( sal_True ); aArr.Insert( pInfo, aArr.Count() ); } else @@ -728,7 +728,7 @@ void SfxConfigGroupListBox_Impl::Init(const css::uno::Reference< css::lang::XMul { if ( grandchildren[m]->getType() == browse::BrowseNodeTypes::CONTAINER ) { - pNewEntry->EnableChildsOnDemand( sal_True ); + pNewEntry->EnableChildrenOnDemand( sal_True ); m = grandchildren.getLength(); } } @@ -751,7 +751,7 @@ void SfxConfigGroupListBox_Impl::Init(const css::uno::Reference< css::lang::XMul SfxGroupInfo_Impl *pInfo = new SfxGroupInfo_Impl( SFX_CFGGROUP_STYLES, 0, 0 ); // TODO last parameter should contain user data aArr.Insert( pInfo, aArr.Count() ); pEntry->SetUserData( pInfo ); - pEntry->EnableChildsOnDemand( sal_True ); + pEntry->EnableChildrenOnDemand( sal_True ); } MakeVisible( GetEntry( 0,0 ) ); @@ -1063,7 +1063,7 @@ sal_Bool SfxConfigGroupListBox_Impl::Expand( SvLBoxEntry* pParent ) return bRet; } -void SfxConfigGroupListBox_Impl::RequestingChilds( SvLBoxEntry *pEntry ) +void SfxConfigGroupListBox_Impl::RequestingChildren( SvLBoxEntry *pEntry ) /* Beschreibung Ein Basic oder eine Bibliothek werden ge"offnet */ @@ -1148,7 +1148,7 @@ void SfxConfigGroupListBox_Impl::RequestingChilds( SvLBoxEntry *pEntry ) { if ( grandchildren[m]->getType() == browse::BrowseNodeTypes::CONTAINER ) { - pNewEntry->EnableChildsOnDemand( sal_True ); + pNewEntry->EnableChildrenOnDemand( sal_True ); m = grandchildren.getLength(); } } @@ -1179,7 +1179,7 @@ void SfxConfigGroupListBox_Impl::RequestingChilds( SvLBoxEntry *pEntry ) SfxGroupInfo_Impl *pGrpInfo = new SfxGroupInfo_Impl( SFX_CFGGROUP_STYLES, 0, pFamily ); aArr.Insert( pGrpInfo, aArr.Count() ); pStyleEntry->SetUserData( pGrpInfo ); - pStyleEntry->EnableChildsOnDemand( sal_False ); + pStyleEntry->EnableChildrenOnDemand( sal_False ); } } break; diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 2736368df6d6..2e9cd2539a93 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -303,7 +303,7 @@ namespace } } -void SvxConfigGroupListBox_Impl::fillScriptList( const Reference< browse::XBrowseNode >& _rxRootNode, SvLBoxEntry* _pParentEntry, bool _bCheapChildsOnDemand ) +void SvxConfigGroupListBox_Impl::fillScriptList( const Reference< browse::XBrowseNode >& _rxRootNode, SvLBoxEntry* _pParentEntry, bool _bCheapChildrenOnDemand ) { OSL_PRECOND( _rxRootNode.is(), "SvxConfigGroupListBox_Impl::fillScriptList: invalid root node!" ); if ( !_rxRootNode.is() ) @@ -380,13 +380,13 @@ void SvxConfigGroupListBox_Impl::fillScriptList( const Reference< browse::XBrows pNewEntry->SetUserData( pInfo ); aArr.Insert( pInfo, aArr.Count() ); - if ( _bCheapChildsOnDemand ) + if ( _bCheapChildrenOnDemand ) { /* i30923 - Would be nice if there was a better * way to determine if a basic lib had children * without having to ask for them (which forces * the library to be loaded */ - pNewEntry->EnableChildsOnDemand( sal_True ); + pNewEntry->EnableChildrenOnDemand( sal_True ); } else { @@ -399,7 +399,7 @@ void SvxConfigGroupListBox_Impl::fillScriptList( const Reference< browse::XBrows { if ( grandchildren[m]->getType() == browse::BrowseNodeTypes::CONTAINER ) { - pNewEntry->EnableChildsOnDemand( sal_True ); + pNewEntry->EnableChildrenOnDemand( sal_True ); break; } } @@ -565,7 +565,7 @@ void SvxConfigGroupListBox_Impl::Init() SvLBoxEntry *pNewEntry = InsertEntry( aTitle, NULL ); pNewEntry->SetUserData( pInfo ); - pNewEntry->EnableChildsOnDemand( sal_True ); + pNewEntry->EnableChildrenOnDemand( sal_True ); aArr.Insert( pInfo, aArr.Count() ); } else @@ -899,7 +899,7 @@ sal_Bool SvxConfigGroupListBox_Impl::Expand( SvLBoxEntry* pParent ) return bRet; } -void SvxConfigGroupListBox_Impl::RequestingChilds( SvLBoxEntry *pEntry ) +void SvxConfigGroupListBox_Impl::RequestingChildren( SvLBoxEntry *pEntry ) { SvxGroupInfo_Impl *pInfo = (SvxGroupInfo_Impl*) pEntry->GetUserData(); pInfo->bWasOpened = sal_True; diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index d7f3dd284a37..7e021d020dbd 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -423,7 +423,7 @@ SvLBoxEntry * SFTreeListBox::insertEntry( } SAL_WNODEPRECATED_DECLARATIONS_POP -void SFTreeListBox::RequestingChilds( SvLBoxEntry* pEntry ) +void SFTreeListBox::RequestingChildren( SvLBoxEntry* pEntry ) { SFEntry* userData = 0; if ( !pEntry ) @@ -992,7 +992,7 @@ void SvxScriptOrgDialog::createEntry( SvLBoxEntry* pEntry ) while ( !bValid ); // open up parent node (which ensures it's loaded) - aScriptsBox.RequestingChilds( pEntry ); + aScriptsBox.RequestingChildren( pEntry ); Sequence< Any > args( 1 ); args[ 0 ] <<= aNewName; @@ -1044,8 +1044,8 @@ void SvxScriptOrgDialog::createEntry( SvLBoxEntry* pEntry ) SAL_WNODEPRECATED_DECLARATIONS_POP // If the Parent is not loaded then set to - // loaded, this will prevent RequestingChilds ( called - // from vcl via RequestingChilds ) from + // loaded, this will prevent RequestingChildren ( called + // from vcl via RequestingChildren ) from // creating new ( duplicate ) children SFEntry* userData = (SFEntry*)pEntry->GetUserData(); if ( userData && !userData->isLoaded() ) @@ -1284,7 +1284,7 @@ void SvxScriptOrgDialog::RestorePreviousSelection() } if ( !pTmpEntry ) break; - aScriptsBox.RequestingChilds( pEntry ); + aScriptsBox.RequestingChildren( pEntry ); } aScriptsBox.SetCurEntry( pEntry ); } diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index b8937689dee3..81e223549eb4 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -182,7 +182,7 @@ class SfxConfigGroupListBox_Impl : public SvTreeListBox SfxStylesInfo_Impl* pStylesInfo; protected: - virtual void RequestingChilds( SvLBoxEntry *pEntry); + virtual void RequestingChildren( SvLBoxEntry *pEntry); using SvListView::Expand; virtual sal_Bool Expand( SvLBoxEntry* pParent ); diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 860a2c384d0e..394f28987e37 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -86,7 +86,7 @@ private: protected: void ExpandTree( SvLBoxEntry* pRootEntry ); - virtual void RequestingChilds( SvLBoxEntry* pParent ); + virtual void RequestingChildren( SvLBoxEntry* pParent ); virtual void ExpandedHdl(); virtual long ExpandingHdl(); public: diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx index d7c6641f2367..ed6cad8e9ba1 100644 --- a/cui/source/inc/selector.hxx +++ b/cui/source/inc/selector.hxx @@ -162,11 +162,11 @@ private: void fillScriptList( const ::com::sun::star::uno::Reference< ::com::sun::star::script::browse::XBrowseNode >& _rxRootNode, SvLBoxEntry* _pParentEntry, - bool _bCheapChildsOnDemand + bool _bCheapChildrenOnDemand ); protected: - virtual void RequestingChilds( SvLBoxEntry *pEntry); + virtual void RequestingChildren( SvLBoxEntry *pEntry); virtual sal_Bool Expand( SvLBoxEntry* pParent ); using SvListView::Expand; |