View | Details | Raw Unified | Return to issue 80111
Collapse All | Expand All

(-)component_context.cxx (-24 / +9 lines)
Line 52 Link Here
52
#include <boost/shared_ptr.hpp>
Line 373 Link Here
373
    typedef ::std::hash_map< OUString, ContextEntry *, OUStringHash > t_map;
374
    typedef ::std::hash_map< OUString, ::boost::shared_ptr<ContextEntry> , OUStringHash > t_map;
374
--
Line 429 Link Here
429
    ::std::auto_ptr<ContextEntry> entry(
430
    ::boost::shared_ptr<ContextEntry> entry(
430
--
Line 437 Link Here
437
        t_map::value_type( name, entry.get() ) ) );
438
        t_map::value_type( name, entry ) ) );
438
--
Line 442 Link Here
442
    entry.release();
Line 559 Link Here
559
    ContextEntry * pEntry = iFind->second;
559
    t_map::mapped_type pEntry = iFind->second;
560
--
Line 707 Link Here
707
        ContextEntry * pEntry = iPos->second;
707
        t_map::mapped_type pEntry = iPos->second;
708
--
Lines 759-765 Link Here
759
    // everything is disposed, hopefully nobody accesses the context anymore...
760
    iPos = m_map.begin();
761
    while (iPos != iEnd)
762
    {
763
        delete iPos->second;
764
        ++iPos;
765
    }
Line 788 Link Here
788
            m_map[ rEntry.name ] = new ContextEntry( Any(), true );
781
            m_map[ rEntry.name ].reset( new ContextEntry( Any(), true ));
789
--
Line 790 Link Here
790
            m_map[ rEntry.name + OUSTR("/service") ] = new ContextEntry( rEntry.value, false );
783
            m_map[ rEntry.name + OUSTR("/service") ].reset( new ContextEntry( rEntry.value, false ));
791
--
Line 796 Link Here
796
            m_map[ rEntry.name ] = new ContextEntry( rEntry.value, false );
789
            m_map[ rEntry.name ].reset( new ContextEntry( rEntry.value, false ));
797
--

Return to issue 80111