[Libreoffice-commits] core.git: include/svtools

Stephan Bergmann sbergman at redhat.com
Fri Oct 23 15:20:36 UTC 2015


 include/svtools/treelistbox.hxx |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit ec2f9439759478087279d363035c112e6df891ed
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 23 17:18:07 2015 +0200

    Remove Boost Pointer Container Library related functions
    
    ...no longer used since the last boost:ptr_vector<SvLBoxItem> has been removed
    in 63de1888f67dc43c30d5a102651b7c2738243efb "svtools: replace boost::ptr_vector
    with std::vector<std::unique_ptr>"
    
    Change-Id: Icd5e9671bb79b0bb2e3b12ef004ac9ec112981f8

diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 0865891..667f8dd 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -177,18 +177,6 @@ public:
     virtual void        Clone(SvLBoxItem* pSource) = 0;
 };
 
-inline SvLBoxItem* new_clone(const SvLBoxItem& rSrc)
-{
-    SvLBoxItem* p = rSrc.Create();
-    p->Clone(const_cast<SvLBoxItem*>(&rSrc));
-    return p;
-}
-
-inline void delete_clone(const SvLBoxItem* p)
-{
-    delete p;
-}
-
 // *********************************************************************
 // ****************************** SvTreeListBox ************************
 // *********************************************************************


More information about the Libreoffice-commits mailing list