Kaydet (Commit) 00438a18 authored tarafından Julien Nabet's avatar Julien Nabet

Remove some newly tagged unused methods

Change-Id: I95d2c24ffefe6835c9505d149dc94847f1140b9c
üst 3a9e1e71
...@@ -193,9 +193,6 @@ public: ...@@ -193,9 +193,6 @@ public:
const SvTreeListEntries& GetChildList( SvTreeListEntry* pParent ) const; const SvTreeListEntries& GetChildList( SvTreeListEntry* pParent ) const;
SvTreeListEntries& GetChildList( SvTreeListEntry* pParent ); SvTreeListEntries& GetChildList( SvTreeListEntry* pParent );
std::pair<SvTreeListEntries::const_iterator, SvTreeListEntries::const_iterator>
GetChildIterators(const SvTreeListEntry* pParent) const;
std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator>
GetChildIterators(SvTreeListEntry* pParent); GetChildIterators(SvTreeListEntry* pParent);
...@@ -341,7 +338,6 @@ public: ...@@ -341,7 +338,6 @@ public:
sal_Bool IsExpanded( SvTreeListEntry* pEntry ) const; sal_Bool IsExpanded( SvTreeListEntry* pEntry ) const;
sal_Bool IsSelected( SvTreeListEntry* pEntry ) const; sal_Bool IsSelected( SvTreeListEntry* pEntry ) const;
sal_Bool HasEntryFocus( SvTreeListEntry* pEntry ) const;
void SetEntryFocus( SvTreeListEntry* pEntry, sal_Bool bFocus ); void SetEntryFocus( SvTreeListEntry* pEntry, sal_Bool bFocus );
const SvViewDataEntry* GetViewData( const SvTreeListEntry* pEntry ) const; const SvViewDataEntry* GetViewData( const SvTreeListEntry* pEntry ) const;
SvViewDataEntry* GetViewData( SvTreeListEntry* pEntry ); SvViewDataEntry* GetViewData( SvTreeListEntry* pEntry );
......
...@@ -65,7 +65,6 @@ public: ...@@ -65,7 +65,6 @@ public:
bool IsCursored() const; bool IsCursored() const;
bool IsSelectable() const; bool IsSelectable() const;
void SetFocus( bool bFocus ); void SetFocus( bool bFocus );
void SetCursored( bool bCursored );
void SetSelected( bool bSelected ); void SetSelected( bool bSelected );
void SetHighlighted( bool bHighlighted ); void SetHighlighted( bool bHighlighted );
void SetExpanded( bool bExpanded ); void SetExpanded( bool bExpanded );
......
...@@ -1118,27 +1118,6 @@ SvTreeListEntry* SvTreeList::GetRootLevelParent( SvTreeListEntry* pEntry ) const ...@@ -1118,27 +1118,6 @@ SvTreeListEntry* SvTreeList::GetRootLevelParent( SvTreeListEntry* pEntry ) const
return pCurParent; 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> std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator>
SvTreeList::GetChildIterators(SvTreeListEntry* pParent) SvTreeList::GetChildIterators(SvTreeListEntry* pParent)
{ {
...@@ -1494,14 +1473,6 @@ sal_Bool SvListView::IsSelected( SvTreeListEntry* pEntry ) const ...@@ -1494,14 +1473,6 @@ sal_Bool SvListView::IsSelected( SvTreeListEntry* pEntry ) const
return itr->second->IsSelected(); 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 ) void SvListView::SetEntryFocus( SvTreeListEntry* pEntry, sal_Bool bFocus )
{ {
DBG_ASSERT(pEntry,"SetEntryFocus:No Entry"); DBG_ASSERT(pEntry,"SetEntryFocus:No Entry");
......
...@@ -97,11 +97,6 @@ void SvViewDataEntry::SetFocus( bool bFocus ) ...@@ -97,11 +97,6 @@ void SvViewDataEntry::SetFocus( bool bFocus )
mbFocused = bFocus; mbFocused = bFocus;
} }
void SvViewDataEntry::SetCursored( bool bCursored )
{
mbCursored = bCursored;
}
void SvViewDataEntry::SetSelected( bool bSelected ) void SvViewDataEntry::SetSelected( bool bSelected )
{ {
mbSelected = bSelected; mbSelected = bSelected;
......
...@@ -11,9 +11,6 @@ ScMenuFloatingWindow::getDoc() ...@@ -11,9 +11,6 @@ ScMenuFloatingWindow::getDoc()
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SfxDocumentTemplateDlg::SfxDocumentTemplateDlg(Window*, SfxDocumentTemplates*) SfxDocumentTemplateDlg::SfxDocumentTemplateDlg(Window*, SfxDocumentTemplates*)
SvListView::HasEntryFocus(SvTreeListEntry*) const
SvTreeList::GetChildIterators(SvTreeListEntry const*) const
SvViewDataEntry::SetCursored(bool)
TextEngine::GetLeftMargin() const TextEngine::GetLeftMargin() const
ThumbnailView::GetScrollWidth() const ThumbnailView::GetScrollWidth() const
ThumbnailViewItemAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&) ThumbnailViewItemAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment