[Libreoffice-commits] core.git: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 11 07:48:59 UTC 2018


 sd/source/ui/view/sdview2.cxx |   18 ------------------
 1 file changed, 18 deletions(-)

New commits:
commit 9b0d2c5c3b2720c7ada339c52b159d1389c13a08
Author:     Takeshi Abe <tabe at fixedpoint.jp>
AuthorDate: Tue Sep 11 15:08:45 2018 +0900
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Sep 11 09:48:35 2018 +0200

    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 at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

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: */


More information about the Libreoffice-commits mailing list