diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-09-11 15:08:45 +0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 09:48:35 +0200 |
commit | 9b0d2c5c3b2720c7ada339c52b159d1389c13a08 (patch) | |
tree | cdb339c3c9bb676d72041dc72b1a215c5310a01e /sd/source/ui/view | |
parent | b6ddcc0ddf8e1a7ac49175fed92998750b80ec35 (diff) |
sd: Drop unused ImplProcessObjectList()
which could be gone at commit 174bbee54828788eb562cb9b172200e509fdd08d.
Change-Id: I2baa67123279f0da6f2443af6bfd351aaa9dfcd8
Reviewed-on: https://gerrit.libreoffice.org/60298
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/sdview2.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index a714d10cca33..4c8733eebb1c 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -896,24 +896,6 @@ bool View::GetExchangeList (std::vector<OUString> &rExchangeList, return bNameOK; } -typedef std::vector< SdrObject* > SdrObjectVector; - -void ImplProcessObjectList(SdrObject* pObj, SdrObjectVector& rVector ) -{ - bool bIsGroup(pObj->IsGroupObject()); - if(bIsGroup && dynamic_cast< const E3dObject *>( pObj ) != nullptr && dynamic_cast< const E3dScene *>( pObj ) == nullptr) - bIsGroup = false; - - rVector.push_back( pObj ); - - if(bIsGroup) - { - SdrObjList* pObjList = pObj->GetSubList(); - for( size_t a = 0; a < pObjList->GetObjCount(); ++a) - ImplProcessObjectList(pObjList->GetObj(a), rVector); - } -} - } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |