diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-07 16:18:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 11:01:06 +0200 |
commit | 14505bb67eb671ebcb91c81cbefbbc1aab930b44 (patch) | |
tree | 0ad2166f5c6c95d01f2f7204b13aaa0ca8119acc /sc | |
parent | 6ea42ddf8f06b7551e80a906908dbad0766a68c6 (diff) |
loplugin:staticmethods
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/acredlin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/conflictsdlg.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/xmlsource/xmlsourcedlg.cxx | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index fcc55f3166eb..f9384ac281e0 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -91,8 +91,8 @@ IMPL_LINK_NOARG( SearchResultsDlg, ListSelectHdl ) return 0; SvTreeListEntry *pEntry = mpList->FirstSelected(); - OUString aTabStr = mpList->GetEntryText(pEntry, 0); - OUString aPosStr = mpList->GetEntryText(pEntry, 1); + OUString aTabStr = SvTabListBox::GetEntryText(pEntry, 0); + OUString aPosStr = SvTabListBox::GetEntryText(pEntry, 1); SCTAB nTab = -1; if (!mpDoc->GetTable(aTabStr, nTab)) diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index cdd661dd36fc..76363796d8de 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -1535,7 +1535,7 @@ void ScAcceptChgDlg::UpdateEntrys(ScChangeTrack* pChgTrack, sal_uLong nStartActi SvTreeListEntry* pEntry=pTheView->First(); - SvTreeListEntry* pNextEntry = (pEntry ? pTheView->NextSibling(pEntry) : NULL); + SvTreeListEntry* pNextEntry = (pEntry ? SvTreeListBox::NextSibling(pEntry) : NULL); SvTreeListEntry* pLastEntry=NULL; while(pEntry!=NULL) { diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx index 27ab197d1726..02d3a317c397 100644 --- a/sc/source/ui/miscdlgs/conflictsdlg.cxx +++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx @@ -520,7 +520,7 @@ void ScConflictsDlg::HandleListBoxSelection( bool bSelectHandle ) { m_pLbConflicts->Select( pEntry ); } - pEntry = m_pLbConflicts->NextSibling( pEntry ); + pEntry = SvTreeListBox::NextSibling( pEntry ); } } } @@ -634,7 +634,7 @@ void ScConflictsDlg::KeepAllHandler( bool bMine ) while ( pRootEntry ) { SetConflictAction( pRootEntry, eConflictAction ); - pRootEntry = m_pLbConflicts->NextSibling( pRootEntry ); + pRootEntry = SvTreeListBox::NextSibling( pRootEntry ); } m_pLbConflicts->SetUpdateMode( false ); m_pLbConflicts->Clear(); diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx index 8a3026b89315..e789276d6a0b 100644 --- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx +++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx @@ -319,7 +319,7 @@ void ScXMLSourceDlg::DefaultElementSelected(SvTreeListEntry& rEntry) { // Only an element with no child elements (leaf element) can be linked. bool bHasChild = false; - for (SvTreeListEntry* pChild = mpLbTree->FirstChild(&rEntry); pChild; pChild = mpLbTree->NextSibling(pChild)) + for (SvTreeListEntry* pChild = mpLbTree->FirstChild(&rEntry); pChild; pChild = SvTreeListBox::NextSibling(pChild)) { ScOrcusXMLTreeParam::EntryData* pUserData = ScOrcusXMLTreeParam::getUserData(*pChild); OSL_ASSERT(pUserData); @@ -465,7 +465,7 @@ bool ScXMLSourceDlg::IsParentDirty(SvTreeListEntry* pEntry) const bool ScXMLSourceDlg::IsChildrenDirty(SvTreeListEntry* pEntry) const { - for (SvTreeListEntry* pChild = mpLbTree->FirstChild(pEntry); pChild; pChild = mpLbTree->NextSibling(pChild)) + for (SvTreeListEntry* pChild = mpLbTree->FirstChild(pEntry); pChild; pChild = SvTreeListBox::NextSibling(pChild)) { ScOrcusXMLTreeParam::EntryData* pUserData = ScOrcusXMLTreeParam::getUserData(*pChild); OSL_ASSERT(pUserData); |