diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-12-14 22:26:58 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-12-14 22:28:06 +0100 |
commit | 00438a182db9d0edcc2339c8a35a79280c60d1a5 (patch) | |
tree | c532cfd6f563e69ac45cb0489297c822b7b2857a /svtools/source/contnr | |
parent | Do not defer ~XMLRedlineImportHelper activity to ~SwXMLImport (diff) | |
download | core-00438a182db9d0edcc2339c8a35a79280c60d1a5.tar.gz core-00438a182db9d0edcc2339c8a35a79280c60d1a5.zip |
Remove some newly tagged unused methods
Change-Id: I95d2c24ffefe6835c9505d149dc94847f1140b9c
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 29 | ||||
-rw-r--r-- | svtools/source/contnr/viewdataentry.cxx | 5 |
2 files changed, 0 insertions, 34 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index d0125f45efa5..90a03d290242 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1118,27 +1118,6 @@ SvTreeListEntry* SvTreeList::GetRootLevelParent( SvTreeListEntry* pEntry ) const return pCurParent; } -std::pair<SvTreeListEntries::const_iterator, SvTreeListEntries::const_iterator> -SvTreeList::GetChildIterators(const SvTreeListEntry* pParent) const -{ - typedef std::pair<SvTreeListEntries::const_iterator, SvTreeListEntries::const_iterator> IteratorPair; - - static const SvTreeListEntries dummy; // prevent singular iterator asserts - IteratorPair aRet(dummy.begin(), dummy.end()); - - if (!pParent) - pParent = pRootItem; - - if (pParent->maChildren.empty()) - // This entry has no children. - return aRet; - - aRet.first = pParent->maChildren.begin(); - aRet.second = pParent->maChildren.end(); - - return aRet; -} - std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> SvTreeList::GetChildIterators(SvTreeListEntry* pParent) { @@ -1494,14 +1473,6 @@ sal_Bool SvListView::IsSelected( SvTreeListEntry* pEntry ) const return itr->second->IsSelected(); } -sal_Bool SvListView::HasEntryFocus( SvTreeListEntry* pEntry ) const -{ - DBG_ASSERT(pEntry,"IsExpanded:No Entry"); - SvDataTable::const_iterator itr = maDataTable.find(pEntry ); - DBG_ASSERT(itr != maDataTable.end(),"Entry not in Table"); - return itr->second->HasFocus(); -} - void SvListView::SetEntryFocus( SvTreeListEntry* pEntry, sal_Bool bFocus ) { DBG_ASSERT(pEntry,"SetEntryFocus:No Entry"); diff --git a/svtools/source/contnr/viewdataentry.cxx b/svtools/source/contnr/viewdataentry.cxx index c9c75f3f21ca..adf7b3151608 100644 --- a/svtools/source/contnr/viewdataentry.cxx +++ b/svtools/source/contnr/viewdataentry.cxx @@ -97,11 +97,6 @@ void SvViewDataEntry::SetFocus( bool bFocus ) mbFocused = bFocus; } -void SvViewDataEntry::SetCursored( bool bCursored ) -{ - mbCursored = bCursored; -} - void SvViewDataEntry::SetSelected( bool bSelected ) { mbSelected = bSelected; |