diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 09:44:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 11:46:44 +0100 |
commit | 3525b4e098290af9953e4be571e242598fcc0a49 (patch) | |
tree | 7e5fd269be6226f9c743392b1127fa9a13347d22 /sd | |
parent | 843ec02fcbc6e1dbc0fbac7e0ee90fd6177711e7 (diff) |
loplugin:unusedmethods
Change-Id: I085394e0f4b780dc5b376d5ac0e9d761434e3ead
Reviewed-on: https://gerrit.libreoffice.org/68301
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 18 | ||||
-rw-r--r-- | sd/source/ui/inc/sdtreelb.hxx | 6 |
2 files changed, 0 insertions, 24 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index c0340f871181..50f571174508 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -712,24 +712,6 @@ OUString SdPageObjsTLB::GetSelectedEntry() return GetEntryText( GetCurEntry() ); } -std::vector<OUString> SdPageObjsTLB::GetSelectEntryList( const sal_uInt16 nDepth ) const -{ - std::vector<OUString> aEntries; - SvTreeListEntry* pEntry = FirstSelected(); - - while( pEntry ) - { - sal_uInt16 nListDepth = GetModel()->GetDepth( pEntry ); - - if( nListDepth == nDepth ) - aEntries.push_back(GetEntryText(pEntry)); - - pEntry = NextSelected( pEntry ); - } - - return aEntries; -} - /** * Entries are inserted only by request (double click) */ diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index 80905d5a6560..41f45b1f0729 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -212,12 +212,6 @@ public: void SetSaveTreeItemStateFlag(bool bState){mbSaveTreeItemState = bState;} void SaveExpandedTreeItemState(SvTreeListEntry* pEntry, std::vector<OUString>& vectTreeItem); - /** return selected entries - nDepth == 0 -> pages - nDepth == 1 -> objects */ - - std::vector<OUString> GetSelectEntryList (const sal_uInt16 nDepth) const; - SdDrawDocument* GetBookmarkDoc(SfxMedium* pMedium = nullptr); bool IsLinkableSelected() const { return mbLinkableSelected; } |