diff options
author | Christian Lippka <christian.lippka@sun.com> | 2010-05-05 17:39:48 +0200 |
---|---|---|
committer | Christian Lippka <christian.lippka@sun.com> | 2010-05-05 17:39:48 +0200 |
commit | 58dd850178eb0151f03351b0599fcb88e6b499a8 (patch) | |
tree | 7a005c45abf348b2c29e9748392d52c9383e2236 /sd/source/ui/dlg/sdtreelb.cxx | |
parent | 1875ea687b2c5c45fe3df626c05ca5f483417269 (diff) |
#i89450# removed unused code
Diffstat (limited to 'sd/source/ui/dlg/sdtreelb.cxx')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 9dbf8e22629c..d44d99ed3c64 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -730,61 +730,6 @@ List* SdPageObjsTLB::GetSelectEntryList( USHORT nDepth ) /************************************************************************* |* -|* Alle Pages (und Objekte) des Docs zurueckgeben -|* nType == 0 -> Seiten -|* nType == 1 -> Objekte -|* -\************************************************************************/ - -List* SdPageObjsTLB::GetBookmarkList( USHORT nType ) -{ - List* pList = NULL; - - if( GetBookmarkDoc() ) - { - SdPage* pPage = NULL; - String* pName = NULL; - USHORT nPage = 0; - const USHORT nMaxPages = mpBookmarkDoc->GetSdPageCount( PK_STANDARD ); - - while( nPage < nMaxPages ) - { - pPage = mpBookmarkDoc->GetSdPage( nPage, PK_STANDARD ); - - if( nType == 0 ) // Seitennamen einfuegen - { - if( !pList ) - pList = new List(); - - pName = new String( pPage->GetRealName() ); - pList->Insert( pName, LIST_APPEND ); - } - else // Objektnamen einfuegen - { - // Ueber Objekte der Seite iterieren - SdrObjListIter aIter( *pPage, IM_DEEPWITHGROUPS ); - while( aIter.IsMore() ) - { - SdrObject* pObj = aIter.Next(); - String aStr( GetObjectName( pObj ) ); - if( aStr.Len() ) - { - if( !pList ) - pList = new List(); - - pName = new String( aStr ); - pList->Insert( pName, LIST_APPEND ); - } - } - } - nPage++; - } - } - return( pList ); -} - -/************************************************************************* -|* |* Eintraege werden erst auf Anforderung (Doppelklick) eingefuegt |* \************************************************************************/ |