Coverage Report

Created: 2026-06-30 11:14

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/oox/helper/refmap.hxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
 * This file is part of the LibreOffice project.
4
 *
5
 * This Source Code Form is subject to the terms of the Mozilla Public
6
 * License, v. 2.0. If a copy of the MPL was not distributed with this
7
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
 *
9
 * This file incorporates work covered by the following license notice:
10
 *
11
 *   Licensed to the Apache Software Foundation (ASF) under one or more
12
 *   contributor license agreements. See the NOTICE file distributed
13
 *   with this work for additional information regarding copyright
14
 *   ownership. The ASF licenses this file to you under the Apache
15
 *   License, Version 2.0 (the "License"); you may not use this file
16
 *   except in compliance with the License. You may obtain a copy of
17
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
 */
19
20
#ifndef INCLUDED_OOX_HELPER_REFMAP_HXX
21
#define INCLUDED_OOX_HELPER_REFMAP_HXX
22
23
#include <algorithm>
24
#include <functional>
25
#include <map>
26
#include <memory>
27
28
namespace oox {
29
30
31
/** Template for a map of ref-counted objects with additional accessor functions.
32
33
    An instance of the class RefMap< Type > stores elements of the type
34
    std::shared_ptr< Type >. The new accessor functions has() and get()
35
    work correctly for nonexisting keys, there is no need to check the passed
36
    key before.
37
 */
38
template< typename KeyType, typename ObjType, typename CompType = std::less< KeyType > >
39
class RefMap : public std::map< KeyType, std::shared_ptr< ObjType >, CompType >
40
{
41
public:
42
    typedef std::map< KeyType, std::shared_ptr< ObjType >, CompType > container_type;
43
    typedef typename container_type::key_type                               key_type;
44
    typedef typename container_type::mapped_type                            mapped_type;
45
    typedef typename container_type::value_type                             value_type;
46
    typedef typename container_type::key_compare                            key_compare;
47
48
public:
49
    /** Returns true, if the object associated to the passed key exists.
50
        Returns false, if the key exists but points to an empty reference. */
51
    bool                has(const key_type& rKey) const
52
0
                        {
53
0
                            const mapped_type* pxRef = getRef(rKey);
54
0
                            return pxRef && pxRef->get();
55
0
                        }
Unexecuted instantiation: oox::RefMap<int, oox::xls::Connection, std::__1::less<int> >::has(int const&) const
Unexecuted instantiation: oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::has(int const&) const
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::xls::Table, std::__1::less<rtl::OUString> >::has(rtl::OUString const&) const
Unexecuted instantiation: objectformatter.cxx:oox::RefMap<oox::drawingml::chart::ObjectType, oox::drawingml::chart::(anonymous namespace)::ObjectTypeFormatter, std::__1::less<oox::drawingml::chart::ObjectType> >::has(oox::drawingml::chart::ObjectType const&) const
Unexecuted instantiation: oox::RefMap<int, oox::drawingml::chart::AxisModel, std::__1::less<int> >::has(int const&) const
Unexecuted instantiation: oox::RefMap<oox::drawingml::chart::DataSourceType, oox::drawingml::chart::DataSourceModel, std::__1::less<oox::drawingml::chart::DataSourceType> >::has(oox::drawingml::chart::DataSourceType const&) const
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::has(rtl::OUString const&) const
56
57
    /** Returns a reference to the object associated to the passed key, or an
58
        empty reference on error. */
59
    mapped_type         get(const key_type& rKey) const
60
663k
                        {
61
663k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
23.2k
                            return mapped_type();
63
663k
                        }
oox::RefMap<rtl::OUString, oox::xls::FunctionInfo, std::__1::less<rtl::OUString> >::get(rtl::OUString const&) const
Line
Count
Source
60
79
                        {
61
79
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
79
                            return mapped_type();
63
79
                        }
Unexecuted instantiation: oox::RefMap<unsigned short, oox::xls::FunctionInfo, std::__1::less<unsigned short> >::get(unsigned short const&) const
oox::RefMap<int, oox::xls::FunctionInfo, std::__1::less<int> >::get(int const&) const
Line
Count
Source
60
15.1k
                        {
61
15.1k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
11.5k
                            return mapped_type();
63
15.1k
                        }
oox::RefMap<rtl::OUString, oox::xls::WorksheetBuffer::SheetInfo, oox::xls::IgnoreCaseCompare>::get(rtl::OUString const&) const
Line
Count
Source
60
394
                        {
61
394
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
21
                            return mapped_type();
63
394
                        }
oox::RefMap<int, oox::xls::Connection, std::__1::less<int> >::get(int const&) const
Line
Count
Source
60
44
                        {
61
44
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
16
                            return mapped_type();
63
44
                        }
Unexecuted instantiation: oox::RefMap<int, oox::xls::DefinedName, std::__1::less<int> >::get(int const&) const
oox::RefMap<std::__1::pair<short, rtl::OUString>, oox::xls::DefinedName, std::__1::less<std::__1::pair<short, rtl::OUString> > >::get(std::__1::pair<short, rtl::OUString> const&) const
Line
Count
Source
60
60
                        {
61
60
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
42
                            return mapped_type();
63
60
                        }
Unexecuted instantiation: oox::RefMap<std::__1::pair<short, char16_t>, oox::xls::DefinedName, std::__1::less<std::__1::pair<short, char16_t> > >::get(std::__1::pair<short, char16_t> const&) const
oox::RefMap<int, oox::xls::PivotCache, std::__1::less<int> >::get(int const&) const
Line
Count
Source
60
403
                        {
61
403
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
324
                            return mapped_type();
63
403
                        }
oox::RefMap<int, oox::xls::CellStyle, std::__1::less<int> >::get(int const&) const
Line
Count
Source
60
143k
                        {
61
143k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
6.39k
                            return mapped_type();
63
143k
                        }
Unexecuted instantiation: oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::get(int const&) const
oox::RefMap<rtl::OUString, oox::xls::Table, std::__1::less<rtl::OUString> >::get(rtl::OUString const&) const
Line
Count
Source
60
12
                        {
61
12
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
1
                            return mapped_type();
63
12
                        }
oox::RefMap<int, oox::xls::PaneSelectionModel, std::__1::less<int> >::get(int const&) const
Line
Count
Source
60
5.85k
                        {
61
5.85k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
1.89k
                            return mapped_type();
63
5.85k
                        }
oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::get(unsigned int const&) const
Line
Count
Source
60
22.3k
                        {
61
22.3k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
213
                            return mapped_type();
63
22.3k
                        }
Unexecuted instantiation: objectformatter.cxx:oox::RefMap<oox::drawingml::chart::ObjectType, oox::drawingml::chart::(anonymous namespace)::ObjectTypeFormatter, std::__1::less<oox::drawingml::chart::ObjectType> >::get(oox::drawingml::chart::ObjectType const&) const
Unexecuted instantiation: oox::RefMap<int, oox::drawingml::chart::AxisModel, std::__1::less<int> >::get(int const&) const
Unexecuted instantiation: oox::RefMap<oox::drawingml::chart::DataSourceType, oox::drawingml::chart::DataSourceModel, std::__1::less<oox::drawingml::chart::DataSourceType> >::get(oox::drawingml::chart::DataSourceType const&) const
oox::RefMap<int, oox::drawingml::TextCharacterProperties, std::__1::less<int> >::get(int const&) const
Line
Count
Source
60
468k
                        {
61
468k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
2.03k
                            return mapped_type();
63
468k
                        }
oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::get(rtl::OUString const&) const
Line
Count
Source
60
30
                        {
61
30
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
7
                            return mapped_type();
63
30
                        }
oox::RefMap<rtl::OUString, oox::vml::ShapeType, std::__1::less<rtl::OUString> >::get(rtl::OUString const&) const
Line
Count
Source
60
7.12k
                        {
61
7.12k
                            if( const mapped_type* pxRef = getRef(rKey) ) return *pxRef;
62
722
                            return mapped_type();
63
7.12k
                        }
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::vml::ShapeBase, std::__1::less<rtl::OUString> >::get(rtl::OUString const&) const
Unexecuted instantiation: oox::RefMap<oox::drawingml::chart::ErrorBarModel::SourceType, oox::drawingml::chart::DataSourceModel, std::__1::less<oox::drawingml::chart::ErrorBarModel::SourceType> >::get(oox::drawingml::chart::ErrorBarModel::SourceType const&) const
64
65
    /** Calls the passed functor for every contained object, automatically
66
        skips all elements that are empty references. */
67
    template <typename FunctorType> void forEach(const FunctorType& rFunctor) const
68
18.4k
    {
69
211k
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEach<oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEachMem<void (oox::xls::SheetScenarios::*)()>(void (oox::xls::SheetScenarios::*)()) const::{lambda(oox::xls::SheetScenarios&)#1}>(oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEachMem<void (oox::xls::SheetScenarios::*)()>(void (oox::xls::SheetScenarios::*)()) const::{lambda(oox::xls::SheetScenarios&)#1} const&) const::{lambda(short const&, oox::xls::SheetScenarios&)#1}::operator()(short const, oox::xls::SheetScenarios&) const
Line
Count
Source
69
11
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEach<oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEachMem<void (oox::xls::Table::*)()>(void (oox::xls::Table::*)()) const::{lambda(oox::xls::Table&)#1}>(oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEachMem<void (oox::xls::Table::*)()>(void (oox::xls::Table::*)()) const::{lambda(oox::xls::Table&)#1} const&) const::{lambda(int const&, oox::xls::Table&)#1}::operator()(int const, oox::xls::Table&) const
Line
Count
Source
69
798
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
numberformatsbuffer.cxx:oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEach<oox::xls::(anonymous namespace)::NumberFormatFinalizer>(oox::xls::(anonymous namespace)::NumberFormatFinalizer const&) const::{lambda(unsigned int const&, oox::xls::NumberFormat&)#1}::operator()(unsigned int const&, oox::xls::NumberFormat&) const
Line
Count
Source
69
210k
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEach<oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEachMem<void (oox::StorageBase::*)()>(void (oox::StorageBase::*)()) const::{lambda(oox::StorageBase&)#1}>(oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEachMem<void (oox::StorageBase::*)()>(void (oox::StorageBase::*)()) const::{lambda(oox::StorageBase&)#1} const&) const::{lambda(rtl::OUString const&, oox::StorageBase&)#1}::operator()(rtl::OUString const, oox::StorageBase&) const
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEach<oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1}>(oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1} const&) const::{lambda(rtl::OUString const&, oox::ole::VbaModule&)#1}::operator()(rtl::OUString const, oox::ole::VbaModule&) const
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEach<oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1}>(oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1} const&) const::{lambda(rtl::OUString const&, oox::ole::VbaModule&)#1}::operator()(rtl::OUString const, oox::ole::VbaModule&) const
70
18.4k
    }
void oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEach<oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEachMem<void (oox::xls::SheetScenarios::*)()>(void (oox::xls::SheetScenarios::*)()) const::{lambda(oox::xls::SheetScenarios&)#1}>(oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEachMem<void (oox::xls::SheetScenarios::*)()>(void (oox::xls::SheetScenarios::*)()) const::{lambda(oox::xls::SheetScenarios&)#1} const&) const
Line
Count
Source
68
3.98k
    {
69
3.98k
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
70
3.98k
    }
void oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEach<oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEachMem<void (oox::xls::Table::*)()>(void (oox::xls::Table::*)()) const::{lambda(oox::xls::Table&)#1}>(oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEachMem<void (oox::xls::Table::*)()>(void (oox::xls::Table::*)()) const::{lambda(oox::xls::Table&)#1} const&) const
Line
Count
Source
68
11.9k
    {
69
11.9k
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
70
11.9k
    }
numberformatsbuffer.cxx:void oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEach<oox::xls::(anonymous namespace)::NumberFormatFinalizer>(oox::xls::(anonymous namespace)::NumberFormatFinalizer const&) const
Line
Count
Source
68
2.50k
    {
69
2.50k
        forEachWithKey([&rFunctor](const key_type&, ObjType& rObj) { rFunctor(rObj); });
70
2.50k
    }
Unexecuted instantiation: void oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEach<oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEachMem<void (oox::StorageBase::*)()>(void (oox::StorageBase::*)()) const::{lambda(oox::StorageBase&)#1}>(oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEachMem<void (oox::StorageBase::*)()>(void (oox::StorageBase::*)()) const::{lambda(oox::StorageBase&)#1} const&) const
Unexecuted instantiation: void oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEach<oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1}>(oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1} const&) const
Unexecuted instantiation: void oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEach<oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1}>(oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1} const&) const
71
72
    /** Calls the passed member function of ObjType on every contained object,
73
        automatically skips all elements that are empty references. */
74
    template <typename FuncType, typename... T> void forEachMem(FuncType pFunc, T&&... args) const
75
15.9k
    {
76
15.9k
        forEach([pFunc, &args...](ObjType& rObj) { (rObj.*pFunc)(args...); });
oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEachMem<void (oox::xls::SheetScenarios::*)()>(void (oox::xls::SheetScenarios::*)()) const::{lambda(oox::xls::SheetScenarios&)#1}::operator()(oox::xls::SheetScenarios&) const
Line
Count
Source
76
11
        forEach([pFunc, &args...](ObjType& rObj) { (rObj.*pFunc)(args...); });
oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEachMem<void (oox::xls::Table::*)()>(void (oox::xls::Table::*)()) const::{lambda(oox::xls::Table&)#1}::operator()(oox::xls::Table&) const
Line
Count
Source
76
798
        forEach([pFunc, &args...](ObjType& rObj) { (rObj.*pFunc)(args...); });
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEachMem<void (oox::StorageBase::*)()>(void (oox::StorageBase::*)()) const::{lambda(oox::StorageBase&)#1}::operator()(oox::StorageBase&) const
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1}::operator()(oox::ole::VbaModule&) const
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const::{lambda(oox::ole::VbaModule&)#1}::operator()(oox::ole::VbaModule&) const
77
15.9k
    }
void oox::RefMap<short, oox::xls::SheetScenarios, std::__1::greater<short> >::forEachMem<void (oox::xls::SheetScenarios::*)()>(void (oox::xls::SheetScenarios::*)()) const
Line
Count
Source
75
3.98k
    {
76
3.98k
        forEach([pFunc, &args...](ObjType& rObj) { (rObj.*pFunc)(args...); });
77
3.98k
    }
void oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::forEachMem<void (oox::xls::Table::*)()>(void (oox::xls::Table::*)()) const
Line
Count
Source
75
11.9k
    {
76
11.9k
        forEach([pFunc, &args...](ObjType& rObj) { (rObj.*pFunc)(args...); });
77
11.9k
    }
Unexecuted instantiation: void oox::RefMap<rtl::OUString, oox::StorageBase, std::__1::less<rtl::OUString> >::forEachMem<void (oox::StorageBase::*)()>(void (oox::StorageBase::*)()) const
Unexecuted instantiation: void oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(oox::StorageBase&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&), std::__1::reference_wrapper<oox::StorageBase>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const
Unexecuted instantiation: void oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::forEachMem<void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const> >(void (oox::ole::VbaModule::*)(com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&, com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const&) const, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const>&&, std::__1::reference_wrapper<com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> const>&&) const
78
79
    /** Calls the passed member function of ObjType on every contained object.
80
        Passes the object key as argument to the member function. */
81
    template <typename FuncType> void forEachMemWithKey(FuncType pFunc) const
82
2.50k
    {
83
14.0k
        forEachWithKey([pFunc](const key_type& rKey, ObjType& rObj) { (rObj.*pFunc)(rKey); });
84
2.50k
    }
85
86
private:
87
    template <typename F> void forEachWithKey(const F& f) const
88
20.9k
    {
89
20.9k
        std::for_each(this->begin(), this->end(),
90
20.9k
                      [&f](const value_type& rValue)
91
228k
                      {
92
228k
                          if (rValue.second)
93
225k
                              f(rValue.first, *rValue.second);
94
228k
                      });
_ZZNK3oox6RefMapIsNS_3xls14SheetScenariosENSt3__17greaterIsEEE14forEachWithKeyIZNKS6_7forEachIZNKS6_10forEachMemIMS2_FvvEJEEEvT_DpOT0_EUlRS2_E_EEvRKSC_EUlRKsSG_E_EEvSJ_ENKUlRKNS3_4pairISK_NS3_10shared_ptrIS2_EEEEE_clESS_
Line
Count
Source
91
11
                      {
92
11
                          if (rValue.second)
93
11
                              f(rValue.first, *rValue.second);
94
11
                      });
_ZZNK3oox6RefMapIN3rtl8OUStringENS_3xls9CellStyleENS3_17IgnoreCaseCompareEE14forEachWithKeyIZNKS6_17forEachMemWithKeyIMS4_FvRKS2_EEEvT_EUlSA_RS4_E_EEvRKSD_ENKUlRKNSt3__14pairIS9_NSI_10shared_ptrIS4_EEEEE_clESO_
Line
Count
Source
91
16.5k
                      {
92
16.5k
                          if (rValue.second)
93
14.0k
                              f(rValue.first, *rValue.second);
94
16.5k
                      });
_ZZNK3oox6RefMapIiNS_3xls5TableENSt3__14lessIiEEE14forEachWithKeyIZNKS6_7forEachIZNKS6_10forEachMemIMS2_FvvEJEEEvT_DpOT0_EUlRS2_E_EEvRKSC_EUlRKiSG_E_EEvSJ_ENKUlRKNS3_4pairISK_NS3_10shared_ptrIS2_EEEEE_clESS_
Line
Count
Source
91
798
                      {
92
798
                          if (rValue.second)
93
798
                              f(rValue.first, *rValue.second);
94
798
                      });
numberformatsbuffer.cxx:oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEachWithKey<oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEach<oox::xls::(anonymous namespace)::NumberFormatFinalizer>(oox::xls::(anonymous namespace)::NumberFormatFinalizer const&) const::{lambda(unsigned int const&, oox::xls::NumberFormat&)#1}>(oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEach<oox::xls::(anonymous namespace)::NumberFormatFinalizer>(oox::xls::(anonymous namespace)::NumberFormatFinalizer const&) const::{lambda(unsigned int const&, oox::xls::NumberFormat&)#1} const&) const::{lambda(std::__1::pair<unsigned int const, std::__1::shared_ptr<oox::xls::NumberFormat> > const&)#1}::operator()(std::__1::pair<unsigned int const, std::__1::shared_ptr<oox::xls::NumberFormat> > const) const
Line
Count
Source
91
210k
                      {
92
210k
                          if (rValue.second)
93
210k
                              f(rValue.first, *rValue.second);
94
210k
                      });
Unexecuted instantiation: _ZZNK3oox6RefMapIN3rtl8OUStringENS_11StorageBaseENSt3__14lessIS2_EEE14forEachWithKeyIZNKS7_7forEachIZNKS7_10forEachMemIMS3_FvvEJEEEvT_DpOT0_EUlRS3_E_EEvRKSD_EUlRKS2_SH_E_EEvSK_ENKUlRKNS4_4pairISL_NS4_10shared_ptrIS3_EEEEE_clEST_
Unexecuted instantiation: _ZZNK3oox6RefMapIN3rtl8OUStringENS_3ole9VbaModuleENSt3__14lessIS2_EEE14forEachWithKeyIZNKS8_7forEachIZNKS8_10forEachMemIMS4_FvRNS_11StorageBaseERKN3com3sun4star3uno9ReferenceINSG_9container14XNameContainerEEERKNSI_INSJ_11XNameAccessEEEEJNS5_17reference_wrapperISC_EENSU_ISM_EENSU_ISQ_EEEEEvT_DpOT0_EUlRS4_E_EEvRKSY_EUlRKS2_S12_E_EEvS15_ENKUlRKNS5_4pairIS16_NS5_10shared_ptrIS4_EEEEE_clES1E_
Unexecuted instantiation: _ZZNK3oox6RefMapIN3rtl8OUStringENS_3ole9VbaModuleENSt3__14lessIS2_EEE14forEachWithKeyIZNKS8_7forEachIZNKS8_10forEachMemIMS4_KFvRKN3com3sun4star3uno9ReferenceINSE_9container14XNameContainerEEERKNSG_INSH_11XNameAccessEEEEJNS5_17reference_wrapperISK_EENSS_ISO_EEEEEvT_DpOT0_EUlRS4_E_EEvRKSV_EUlRKS2_SZ_E_EEvS12_ENKUlRKNS5_4pairIS13_NS5_10shared_ptrIS4_EEEEE_clES1B_
95
20.9k
    }
_ZNK3oox6RefMapIsNS_3xls14SheetScenariosENSt3__17greaterIsEEE14forEachWithKeyIZNKS6_7forEachIZNKS6_10forEachMemIMS2_FvvEJEEEvT_DpOT0_EUlRS2_E_EEvRKSC_EUlRKsSG_E_EEvSJ_
Line
Count
Source
88
3.98k
    {
89
3.98k
        std::for_each(this->begin(), this->end(),
90
3.98k
                      [&f](const value_type& rValue)
91
3.98k
                      {
92
3.98k
                          if (rValue.second)
93
3.98k
                              f(rValue.first, *rValue.second);
94
3.98k
                      });
95
3.98k
    }
void oox::RefMap<rtl::OUString, oox::xls::CellStyle, oox::xls::IgnoreCaseCompare>::forEachWithKey<oox::RefMap<rtl::OUString, oox::xls::CellStyle, oox::xls::IgnoreCaseCompare>::forEachMemWithKey<void (oox::xls::CellStyle::*)(rtl::OUString const&)>(void (oox::xls::CellStyle::*)(rtl::OUString const&)) const::{lambda(rtl::OUString const&, oox::xls::CellStyle&)#1}>(oox::RefMap<rtl::OUString, oox::xls::CellStyle, oox::xls::IgnoreCaseCompare>::forEachMemWithKey<void (oox::xls::CellStyle::*)(rtl::OUString const&)>(void (oox::xls::CellStyle::*)(rtl::OUString const&)) const::{lambda(rtl::OUString const&, oox::xls::CellStyle&)#1} const&) const
Line
Count
Source
88
2.50k
    {
89
2.50k
        std::for_each(this->begin(), this->end(),
90
2.50k
                      [&f](const value_type& rValue)
91
2.50k
                      {
92
2.50k
                          if (rValue.second)
93
2.50k
                              f(rValue.first, *rValue.second);
94
2.50k
                      });
95
2.50k
    }
_ZNK3oox6RefMapIiNS_3xls5TableENSt3__14lessIiEEE14forEachWithKeyIZNKS6_7forEachIZNKS6_10forEachMemIMS2_FvvEJEEEvT_DpOT0_EUlRS2_E_EEvRKSC_EUlRKiSG_E_EEvSJ_
Line
Count
Source
88
11.9k
    {
89
11.9k
        std::for_each(this->begin(), this->end(),
90
11.9k
                      [&f](const value_type& rValue)
91
11.9k
                      {
92
11.9k
                          if (rValue.second)
93
11.9k
                              f(rValue.first, *rValue.second);
94
11.9k
                      });
95
11.9k
    }
numberformatsbuffer.cxx:void oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEachWithKey<oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEach<oox::xls::(anonymous namespace)::NumberFormatFinalizer>(oox::xls::(anonymous namespace)::NumberFormatFinalizer const&) const::{lambda(unsigned int const&, oox::xls::NumberFormat&)#1}>(oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::forEach<oox::xls::(anonymous namespace)::NumberFormatFinalizer>(oox::xls::(anonymous namespace)::NumberFormatFinalizer const&) const::{lambda(unsigned int const&, oox::xls::NumberFormat&)#1} const&) const
Line
Count
Source
88
2.50k
    {
89
2.50k
        std::for_each(this->begin(), this->end(),
90
2.50k
                      [&f](const value_type& rValue)
91
2.50k
                      {
92
2.50k
                          if (rValue.second)
93
2.50k
                              f(rValue.first, *rValue.second);
94
2.50k
                      });
95
2.50k
    }
Unexecuted instantiation: _ZNK3oox6RefMapIN3rtl8OUStringENS_11StorageBaseENSt3__14lessIS2_EEE14forEachWithKeyIZNKS7_7forEachIZNKS7_10forEachMemIMS3_FvvEJEEEvT_DpOT0_EUlRS3_E_EEvRKSD_EUlRKS2_SH_E_EEvSK_
Unexecuted instantiation: _ZNK3oox6RefMapIN3rtl8OUStringENS_3ole9VbaModuleENSt3__14lessIS2_EEE14forEachWithKeyIZNKS8_7forEachIZNKS8_10forEachMemIMS4_FvRNS_11StorageBaseERKN3com3sun4star3uno9ReferenceINSG_9container14XNameContainerEEERKNSI_INSJ_11XNameAccessEEEEJNS5_17reference_wrapperISC_EENSU_ISM_EENSU_ISQ_EEEEEvT_DpOT0_EUlRS4_E_EEvRKSY_EUlRKS2_S12_E_EEvS15_
Unexecuted instantiation: _ZNK3oox6RefMapIN3rtl8OUStringENS_3ole9VbaModuleENSt3__14lessIS2_EEE14forEachWithKeyIZNKS8_7forEachIZNKS8_10forEachMemIMS4_KFvRKN3com3sun4star3uno9ReferenceINSE_9container14XNameContainerEEERKNSG_INSH_11XNameAccessEEEEJNS5_17reference_wrapperISK_EENSS_ISO_EEEEEvT_DpOT0_EUlRS4_E_EEvRKSV_EUlRKS2_SZ_E_EEvS12_
96
97
    const mapped_type* getRef(const key_type& rKey) const
98
663k
    {
99
663k
        typename container_type::const_iterator aIt = this->find(rKey);
100
663k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
663k
    }
oox::RefMap<rtl::OUString, oox::xls::FunctionInfo, std::__1::less<rtl::OUString> >::getRef(rtl::OUString const&) const
Line
Count
Source
98
79
    {
99
79
        typename container_type::const_iterator aIt = this->find(rKey);
100
79
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
79
    }
Unexecuted instantiation: oox::RefMap<unsigned short, oox::xls::FunctionInfo, std::__1::less<unsigned short> >::getRef(unsigned short const&) const
oox::RefMap<int, oox::xls::FunctionInfo, std::__1::less<int> >::getRef(int const&) const
Line
Count
Source
98
15.1k
    {
99
15.1k
        typename container_type::const_iterator aIt = this->find(rKey);
100
15.1k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
15.1k
    }
oox::RefMap<rtl::OUString, oox::xls::WorksheetBuffer::SheetInfo, oox::xls::IgnoreCaseCompare>::getRef(rtl::OUString const&) const
Line
Count
Source
98
394
    {
99
394
        typename container_type::const_iterator aIt = this->find(rKey);
100
394
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
394
    }
oox::RefMap<int, oox::xls::Connection, std::__1::less<int> >::getRef(int const&) const
Line
Count
Source
98
44
    {
99
44
        typename container_type::const_iterator aIt = this->find(rKey);
100
44
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
44
    }
Unexecuted instantiation: oox::RefMap<int, oox::xls::DefinedName, std::__1::less<int> >::getRef(int const&) const
oox::RefMap<std::__1::pair<short, rtl::OUString>, oox::xls::DefinedName, std::__1::less<std::__1::pair<short, rtl::OUString> > >::getRef(std::__1::pair<short, rtl::OUString> const&) const
Line
Count
Source
98
60
    {
99
60
        typename container_type::const_iterator aIt = this->find(rKey);
100
60
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
60
    }
Unexecuted instantiation: oox::RefMap<std::__1::pair<short, char16_t>, oox::xls::DefinedName, std::__1::less<std::__1::pair<short, char16_t> > >::getRef(std::__1::pair<short, char16_t> const&) const
oox::RefMap<int, oox::xls::PivotCache, std::__1::less<int> >::getRef(int const&) const
Line
Count
Source
98
403
    {
99
403
        typename container_type::const_iterator aIt = this->find(rKey);
100
403
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
403
    }
oox::RefMap<int, oox::xls::CellStyle, std::__1::less<int> >::getRef(int const&) const
Line
Count
Source
98
143k
    {
99
143k
        typename container_type::const_iterator aIt = this->find(rKey);
100
143k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
143k
    }
Unexecuted instantiation: oox::RefMap<int, oox::xls::Table, std::__1::less<int> >::getRef(int const&) const
oox::RefMap<rtl::OUString, oox::xls::Table, std::__1::less<rtl::OUString> >::getRef(rtl::OUString const&) const
Line
Count
Source
98
12
    {
99
12
        typename container_type::const_iterator aIt = this->find(rKey);
100
12
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
12
    }
oox::RefMap<int, oox::xls::PaneSelectionModel, std::__1::less<int> >::getRef(int const&) const
Line
Count
Source
98
5.85k
    {
99
5.85k
        typename container_type::const_iterator aIt = this->find(rKey);
100
5.85k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
5.85k
    }
oox::RefMap<unsigned int, oox::xls::NumberFormat, std::__1::less<unsigned int> >::getRef(unsigned int const&) const
Line
Count
Source
98
22.3k
    {
99
22.3k
        typename container_type::const_iterator aIt = this->find(rKey);
100
22.3k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
22.3k
    }
Unexecuted instantiation: objectformatter.cxx:oox::RefMap<oox::drawingml::chart::ObjectType, oox::drawingml::chart::(anonymous namespace)::ObjectTypeFormatter, std::__1::less<oox::drawingml::chart::ObjectType> >::getRef(oox::drawingml::chart::ObjectType const&) const
Unexecuted instantiation: oox::RefMap<int, oox::drawingml::chart::AxisModel, std::__1::less<int> >::getRef(int const&) const
Unexecuted instantiation: oox::RefMap<oox::drawingml::chart::DataSourceType, oox::drawingml::chart::DataSourceModel, std::__1::less<oox::drawingml::chart::DataSourceType> >::getRef(oox::drawingml::chart::DataSourceType const&) const
oox::RefMap<int, oox::drawingml::TextCharacterProperties, std::__1::less<int> >::getRef(int const&) const
Line
Count
Source
98
468k
    {
99
468k
        typename container_type::const_iterator aIt = this->find(rKey);
100
468k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
468k
    }
oox::RefMap<rtl::OUString, oox::ole::VbaModule, std::__1::less<rtl::OUString> >::getRef(rtl::OUString const&) const
Line
Count
Source
98
30
    {
99
30
        typename container_type::const_iterator aIt = this->find(rKey);
100
30
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
30
    }
oox::RefMap<rtl::OUString, oox::vml::ShapeType, std::__1::less<rtl::OUString> >::getRef(rtl::OUString const&) const
Line
Count
Source
98
7.12k
    {
99
7.12k
        typename container_type::const_iterator aIt = this->find(rKey);
100
7.12k
        return (aIt == this->end()) ? nullptr : &aIt->second;
101
7.12k
    }
Unexecuted instantiation: oox::RefMap<rtl::OUString, oox::vml::ShapeBase, std::__1::less<rtl::OUString> >::getRef(rtl::OUString const&) const
Unexecuted instantiation: oox::RefMap<oox::drawingml::chart::ErrorBarModel::SourceType, oox::drawingml::chart::DataSourceModel, std::__1::less<oox::drawingml::chart::ErrorBarModel::SourceType> >::getRef(oox::drawingml::chart::ErrorBarModel::SourceType const&) const
102
};
103
104
105
} // namespace oox
106
107
#endif
108
109
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */