Coverage Report

Created: 2026-08-14 10:22

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/comphelper/interfacecontainer4.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
#pragma once
20
21
#include <sal/config.h>
22
23
#include <com/sun/star/lang/DisposedException.hpp>
24
#include <o3tl/cow_wrapper.hxx>
25
#include <cassert>
26
#include <mutex>
27
#include <vector>
28
29
namespace com::sun::star::uno
30
{
31
class XInterface;
32
}
33
namespace com::sun::star::lang
34
{
35
struct EventObject;
36
}
37
38
namespace comphelper
39
{
40
template <class ListenerT> class OInterfaceContainerHelper4;
41
/**
42
  This is the iterator of an OInterfaceContainerHelper4. Typically
43
  one constructs an instance on the stack for one firing session.
44
  It is not allowed to assign or copy an instance of this class.
45
46
  @tparam ListenerT UNO event listener type
47
  @see OInterfaceContainerHelper4
48
 */
49
template <class ListenerT> class OInterfaceIteratorHelper4
50
{
51
public:
52
    /**
53
       Create an iterator over the elements of the container. The iterator
54
       copies the elements of the container. A change to the container
55
       during the lifetime of an iterator is allowed and does not
56
       affect the iterator-instance. The iterator and the container take cares
57
       themself for concurrent access, no additional guarding is necessary.
58
59
       Remark: The copy is on demand. The iterator copy the elements only if the container
60
       change the contents...
61
62
       @param rCont the container of the elements.
63
       @param rGuard
64
            this parameter only here to make that this container is accessed while locked
65
     */
66
    OInterfaceIteratorHelper4(std::unique_lock<std::mutex>& rGuard,
67
                              OInterfaceContainerHelper4<ListenerT>& rCont_)
68
1.95M
        : rCont(rCont_)
69
1.95M
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
1.95M
        , nRemain(std::as_const(maData)->size())
72
1.95M
    {
73
1.95M
        assert(rGuard.owns_lock());
74
1.95M
        (void)rGuard;
75
1.95M
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::accessibility::XAccessibleEventListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>&)
comphelper::OInterfaceIteratorHelper4<com::sun::star::lang::XEventListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>&)
Line
Count
Source
68
781k
        : rCont(rCont_)
69
781k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
781k
        , nRemain(std::as_const(maData)->size())
72
781k
    {
73
        assert(rGuard.owns_lock());
74
781k
        (void)rGuard;
75
781k
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertiesChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XVetoableChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertyChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>&)
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XFocusListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XWindowListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseMotionListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XPaintListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XVclContainerListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTopWindowListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>&)
Line
Count
Source
68
49.7k
        : rCont(rCont_)
69
49.7k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
49.7k
        , nRemain(std::as_const(maData)->size())
72
49.7k
    {
73
        assert(rGuard.owns_lock());
74
49.7k
        (void)rGuard;
75
49.7k
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XActionListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTabListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XAdjustmentListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTextListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>&)
comphelper::OInterfaceIteratorHelper4<com::sun::star::container::XContainerListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>&)
Line
Count
Source
68
55
        : rCont(rCont_)
69
55
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
55
        , nRemain(std::as_const(maData)->size())
72
55
    {
73
        assert(rGuard.owns_lock());
74
55
        (void)rGuard;
75
55
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XSpinListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMenuListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XSelectionChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::grid::XGridSelectionListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeEditListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>&)
comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XRefreshListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>&)
Line
Count
Source
68
76.6k
        : rCont(rCont_)
69
76.6k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
76.6k
        , nRemain(std::as_const(maData)->size())
72
76.6k
    {
73
        assert(rGuard.owns_lock());
74
76.6k
        (void)rGuard;
75
76.6k
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XEventListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::binding::XListEntryListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>&)
comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModifyListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>&)
Line
Count
Source
68
692k
        : rCont(rCont_)
69
692k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
692k
        , nRemain(std::as_const(maData)->size())
72
692k
    {
73
        assert(rGuard.owns_lock());
74
692k
        (void)rGuard;
75
692k
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XStatusListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XPrintJobListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XGridControlListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XUpdateListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XFlushListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XTitleChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XTitleChangeListener>&)
comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XUndoManagerListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>&)
Line
Count
Source
68
2.62k
        : rCont(rCont_)
69
2.62k
        , maData(rCont.maData)
70
        // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator->
71
2.62k
        , nRemain(std::as_const(maData)->size())
72
2.62k
    {
73
        assert(rGuard.owns_lock());
74
2.62k
        (void)rGuard;
75
2.62k
    }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ui::XUIConfigurationListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::io::XStreamListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::io::XStreamListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XDocumentEventListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XChangesListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyHandler>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ucb::XContentEventListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModeChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XCloseListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XStorageChangeListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::chart::XChartDataChangeEventListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::presentation::XSlideShowListener>::OInterfaceIteratorHelper4(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>&)
76
77
    /** Return true, if there are more elements in the iterator. */
78
2.07M
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::accessibility::XAccessibleEventListener>::hasMoreElements() const
comphelper::OInterfaceIteratorHelper4<com::sun::star::lang::XEventListener>::hasMoreElements() const
Line
Count
Source
78
796k
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertiesChangeListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XVetoableChangeListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertyChangeListener>::hasMoreElements() const
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XFocusListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XWindowListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseMotionListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XPaintListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XVclContainerListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTopWindowListener>::hasMoreElements() const
Line
Count
Source
78
49.7k
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XActionListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTabListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XAdjustmentListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTextListener>::hasMoreElements() const
comphelper::OInterfaceIteratorHelper4<com::sun::star::container::XContainerListener>::hasMoreElements() const
Line
Count
Source
78
55
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XSpinListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMenuListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XSelectionChangeListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::grid::XGridSelectionListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeEditListener>::hasMoreElements() const
comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XRefreshListener>::hasMoreElements() const
Line
Count
Source
78
76.6k
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XEventListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::binding::XListEntryListener>::hasMoreElements() const
comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModifyListener>::hasMoreElements() const
Line
Count
Source
78
802k
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XStatusListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XPrintJobListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XGridControlListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XUpdateListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XFlushListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XTitleChangeListener>::hasMoreElements() const
comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XUndoManagerListener>::hasMoreElements() const
Line
Count
Source
78
2.62k
    bool hasMoreElements() const { return nRemain != 0; }
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ui::XUIConfigurationListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::io::XStreamListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XDocumentEventListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XChangesListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyHandler>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ucb::XContentEventListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModeChangeListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XCloseListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XStorageChangeListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::chart::XChartDataChangeEventListener>::hasMoreElements() const
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::presentation::XSlideShowListener>::hasMoreElements() const
79
    /** Return the next element of the iterator. Calling this method if
80
        hasMoreElements() has returned false, is an error.
81
     */
82
    css::uno::Reference<ListenerT> const& next();
83
84
    /** Removes the current element (the last one returned by next())
85
        from the underlying container. Calling this method before
86
        next() has been called or calling it twice with no next()
87
        in between is an error.
88
        @param rGuard
89
            this parameter only here to make that this container is accessed while locked
90
    */
91
    void remove(::std::unique_lock<::std::mutex>& rGuard);
92
93
private:
94
    OInterfaceContainerHelper4<ListenerT>& rCont;
95
    o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
96
                      o3tl::ThreadSafeRefCountingPolicy>
97
        maData;
98
    sal_Int32 nRemain;
99
100
    OInterfaceIteratorHelper4(const OInterfaceIteratorHelper4&) = delete;
101
    OInterfaceIteratorHelper4& operator=(const OInterfaceIteratorHelper4&) = delete;
102
};
103
104
template <class ListenerT>
105
const css::uno::Reference<ListenerT>& OInterfaceIteratorHelper4<ListenerT>::next()
106
124k
{
107
124k
    nRemain--;
108
124k
    return (*std::as_const(maData))[nRemain];
109
124k
}
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::accessibility::XAccessibleEventListener>::next()
comphelper::OInterfaceIteratorHelper4<com::sun::star::lang::XEventListener>::next()
Line
Count
Source
106
14.8k
{
107
14.8k
    nRemain--;
108
14.8k
    return (*std::as_const(maData))[nRemain];
109
14.8k
}
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertiesChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XVetoableChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertyChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XFocusListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XWindowListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseMotionListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XPaintListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XVclContainerListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTopWindowListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XActionListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTabListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XAdjustmentListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTextListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::container::XContainerListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XSpinListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMenuListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XSelectionChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::grid::XGridSelectionListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeEditListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XRefreshListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XEventListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::binding::XListEntryListener>::next()
comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModifyListener>::next()
Line
Count
Source
106
109k
{
107
109k
    nRemain--;
108
109k
    return (*std::as_const(maData))[nRemain];
109
109k
}
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XStatusListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XPrintJobListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XGridControlListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XUpdateListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XFlushListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XTitleChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XUndoManagerListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ui::XUIConfigurationListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::io::XStreamListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XDocumentEventListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XChangesListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyHandler>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ucb::XContentEventListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModeChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XCloseListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XStorageChangeListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::chart::XChartDataChangeEventListener>::next()
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::presentation::XSlideShowListener>::next()
110
111
template <class ListenerT>
112
void OInterfaceIteratorHelper4<ListenerT>::remove(::std::unique_lock<::std::mutex>& rGuard)
113
0
{
114
0
    rCont.removeInterface(rGuard, (*std::as_const(maData))[nRemain]);
115
0
}
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertiesChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XVetoableChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertyChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XFocusListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XWindowListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XVclContainerListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XKeyListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMouseMotionListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XPaintListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTopWindowListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTextListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XActionListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XTabListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::container::XContainerListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XSpinListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XAdjustmentListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XMenuListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::view::XSelectionChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::grid::XGridSelectionListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::tree::XTreeEditListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XRefreshListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XEventListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::binding::XListEntryListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModifyListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XStatusListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XGridControlListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::form::XUpdateListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XFlushListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::frame::XTitleChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XUndoManagerListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::ui::XUIConfigurationListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XDocumentEventListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::awt::XItemListListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XModeChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::util::XCloseListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::document::XStorageChangeListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::lang::XEventListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::chart::XChartDataChangeEventListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper4<com::sun::star::presentation::XSlideShowListener>::remove(std::__1::unique_lock<std::__1::mutex>&)
116
117
/**
118
  A container of interfaces. To access the elements use an iterator.
119
  This implementation is thread-safe.
120
121
  This is a copy of the code at include/comphelper/interfacecontainer3.hxx,
122
  except that it (a) uses std::mutex instead of osl::Mutex and (b) does not
123
  store a reference to the mutex, but relies on the calling class to take
124
  a lock around using it.
125
126
  @tparam ListenerT UNO event listener type
127
  @see OInterfaceIteratorHelper
128
 */
129
template <class ListenerT> class OInterfaceContainerHelper4
130
{
131
public:
132
    OInterfaceContainerHelper4();
133
134
    /**
135
      Return the number of Elements in the container. Only useful if you have acquired
136
      the mutex.
137
      @param rGuard
138
        this parameter only here to make that this container is accessed while locked
139
     */
140
    sal_Int32 getLength(std::unique_lock<std::mutex>& rGuard) const;
141
142
    /**
143
      Return all interfaces added to this container.
144
      @param rGuard
145
          this parameter only here to make that this container is accessed while locked
146
     **/
147
    std::vector<css::uno::Reference<ListenerT>>
148
    getElements(std::unique_lock<std::mutex>& rGuard) const;
149
150
    /** Inserts an element into the container.  The position is not specified, thus it is not
151
        specified in which order events are fired.
152
153
        @attention
154
        If you add the same interface more than once, then it will be added to the elements list
155
        more than once and thus if you want to remove that interface from the list, you have to call
156
        removeInterface() the same number of times.
157
        In the latter case, you will also get events fired more than once (if the interface is a
158
        listener interface).
159
160
        @param rxIFace
161
               interface to be added; it is allowed to insert
162
               the same interface more than once
163
        @param rGuard
164
            this parameter only here to make that this container is accessed while locked
165
        @return
166
                the new count of elements in the container
167
    */
168
    sal_Int32 addInterface(std::unique_lock<std::mutex>& rGuard,
169
                           const css::uno::Reference<ListenerT>& rxIFace);
170
    /** Removes an element from the container.  It uses interface equality to remove the interface.
171
172
        @param rxIFace
173
               interface to be removed
174
        @param rGuard
175
               this parameter only here to make that this container is accessed while locked
176
        @return
177
                the new count of elements in the container
178
    */
179
    sal_Int32 removeInterface(std::unique_lock<std::mutex>& rGuard,
180
                              const css::uno::Reference<ListenerT>& rxIFace);
181
    /**
182
      Call disposing on all object in the container that
183
      support XEventListener. Then clear the container.
184
      The guard is unlock()'ed before calling the listeners.
185
     */
186
    void disposeAndClear(::std::unique_lock<::std::mutex>& rGuard,
187
                         const css::lang::EventObject& rEvt);
188
    /**
189
      Clears the container without calling disposing().
190
        @param rGuard
191
            this parameter only here to make that this container is accessed while locked
192
     */
193
    void clear(::std::unique_lock<::std::mutex>& rGuard);
194
195
    /** Executes a functor for each contained listener of specified type, e.g.
196
        <code>forEach<awt::XPaintListener>(...</code>.
197
198
        If a css::lang::DisposedException occurs which relates to
199
        the called listener, then that listener is removed from the container.
200
201
        @tparam FuncT unary functor type, let your compiler deduce this for you
202
        @param func unary functor object expecting an argument of type
203
                    css::uno::Reference<ListenerT>
204
        @param rGuard
205
            this parameter only here to make that this container is accessed while locked
206
    */
207
    template <typename FuncT>
208
    inline void forEach(std::unique_lock<std::mutex>& rGuard, FuncT const& func) const;
209
210
    /** Executes a functor for each contained listener of specified type, e.g.
211
        <code>forEach<awt::XPaintListener>(...</code>.
212
213
        If a css::lang::DisposedException occurs which relates to
214
        the called listener, then that listener is removed from the container.
215
216
        If any other UNO exception occurs, the exceptionFunc is called.
217
218
        @tparam FuncT unary functor type, let your compiler deduce this for you
219
        @tparam ExceptionFuncT nullary functor type, let your compiler deduce this for you
220
        @param func unary functor object expecting an argument of type
221
                    css::uno::Reference<ListenerT>
222
        @param exceptionFunc nullary functor object
223
        @param rGuard
224
            this parameter only here to make that this container is accessed while locked
225
    */
226
    template <typename FuncT, typename ExceptionFuncT>
227
    inline void forEach(std::unique_lock<std::mutex>& rGuard, FuncT const& func,
228
                        ExceptionFuncT const& exceptionFunc) const;
229
230
    /** Calls a UNO listener method for each contained listener.
231
232
        The listener method must take a single argument of type EventT,
233
        and return <code>void</code>.
234
235
        If a css::lang::DisposedException occurs which relates to
236
        the called listener, then that listener is removed from the container.
237
238
        @tparam EventT event type, let your compiler deduce this for you
239
        @param NotificationMethod
240
            Pointer to a method of a ListenerT interface.
241
        @param Event
242
            Event to notify to all contained listeners
243
        @param rGuard
244
            this parameter only here to make that this container is accessed while locked
245
246
        Example:
247
@code
248
    awt::PaintEvent aEvent( static_cast< cppu::OWeakObject* >( this ), ... );
249
    listeners.notifyEach( &XPaintListener::windowPaint, aEvent );
250
@endcode
251
    */
252
    template <typename EventT>
253
    inline void notifyEach(std::unique_lock<std::mutex>& rGuard,
254
                           void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&),
255
                           const EventT& Event) const;
256
257
    /** Calls a UNO listener method for each contained listener.
258
259
        The listener method must take a single argument of type EventT,
260
        and return <code>void</code>.
261
262
        If a css::lang::DisposedException occurs which relates to
263
        the called listener, then that listener is removed from the container.
264
265
        If any other UNO exception occurs, the exceptionFunc is called.
266
267
        @tparam EventT event type, let your compiler deduce this for you
268
        @tparam ExceptionFuncT nullary functor type, let your compiler deduce this for you
269
        @param NotificationMethod
270
            Pointer to a method of a ListenerT interface.
271
        @param Event
272
            Event to notify to all contained listeners
273
        @param exceptionFunc nullary functor object
274
        @param rGuard
275
            this parameter only here to make that this container is accessed while locked
276
    */
277
    template <typename EventT, typename ExceptionFuncT>
278
    inline void notifyEach(std::unique_lock<std::mutex>& rGuard,
279
                           void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&),
280
                           const EventT& Event, const ExceptionFuncT& exceptionFunc) const;
281
282
    // this is moveable, but not copyable
283
0
    OInterfaceContainerHelper4(OInterfaceContainerHelper4&&) = default;
284
    OInterfaceContainerHelper4& operator=(OInterfaceContainerHelper4&&) = default;
285
286
private:
287
    friend class OInterfaceIteratorHelper4<ListenerT>;
288
    o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
289
                      o3tl::ThreadSafeRefCountingPolicy>
290
        maData;
291
    OInterfaceContainerHelper4(const OInterfaceContainerHelper4&) = delete;
292
    OInterfaceContainerHelper4& operator=(const OInterfaceContainerHelper4&) = delete;
293
294
    static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
295
                             o3tl::ThreadSafeRefCountingPolicy>&
296
    DEFAULT()
297
6.35M
    {
298
6.35M
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
6.35M
                                 o3tl::ThreadSafeRefCountingPolicy>
300
6.35M
            SINGLETON;
301
6.35M
        return SINGLETON;
302
6.35M
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::DEFAULT()
Line
Count
Source
297
3.56M
    {
298
3.56M
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
3.56M
                                 o3tl::ThreadSafeRefCountingPolicy>
300
3.56M
            SINGLETON;
301
3.56M
        return SINGLETON;
302
3.56M
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::DEFAULT()
Line
Count
Source
297
12.6k
    {
298
12.6k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
12.6k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
12.6k
            SINGLETON;
301
12.6k
        return SINGLETON;
302
12.6k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::DEFAULT()
Line
Count
Source
297
12.6k
    {
298
12.6k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
12.6k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
12.6k
            SINGLETON;
301
12.6k
        return SINGLETON;
302
12.6k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::DEFAULT()
Line
Count
Source
297
57
    {
298
57
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
57
                                 o3tl::ThreadSafeRefCountingPolicy>
300
57
            SINGLETON;
301
57
        return SINGLETON;
302
57
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::DEFAULT()
Line
Count
Source
297
4.21k
    {
298
4.21k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
4.21k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
4.21k
            SINGLETON;
301
4.21k
        return SINGLETON;
302
4.21k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>::DEFAULT()
Line
Count
Source
297
57
    {
298
57
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
57
                                 o3tl::ThreadSafeRefCountingPolicy>
300
57
            SINGLETON;
301
57
        return SINGLETON;
302
57
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::DEFAULT()
Line
Count
Source
297
213k
    {
298
213k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
213k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
213k
            SINGLETON;
301
213k
        return SINGLETON;
302
213k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::DEFAULT()
Line
Count
Source
297
125k
    {
298
125k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
125k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
125k
            SINGLETON;
301
125k
        return SINGLETON;
302
125k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::DEFAULT()
Line
Count
Source
297
125k
    {
298
125k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
125k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
125k
            SINGLETON;
301
125k
        return SINGLETON;
302
125k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::DEFAULT()
Line
Count
Source
297
125k
    {
298
125k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
125k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
125k
            SINGLETON;
301
125k
        return SINGLETON;
302
125k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::DEFAULT()
Line
Count
Source
297
125k
    {
298
125k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
125k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
125k
            SINGLETON;
301
125k
        return SINGLETON;
302
125k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::DEFAULT()
Line
Count
Source
297
125k
    {
298
125k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
125k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
125k
            SINGLETON;
301
125k
        return SINGLETON;
302
125k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::DEFAULT()
Line
Count
Source
297
125k
    {
298
125k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
125k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
125k
            SINGLETON;
301
125k
        return SINGLETON;
302
125k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::DEFAULT()
Line
Count
Source
297
213k
    {
298
213k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
213k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
213k
            SINGLETON;
301
213k
        return SINGLETON;
302
213k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::DEFAULT()
Line
Count
Source
297
110
    {
298
110
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
110
                                 o3tl::ThreadSafeRefCountingPolicy>
300
110
            SINGLETON;
301
110
        return SINGLETON;
302
110
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::DEFAULT()
Line
Count
Source
297
157k
    {
298
157k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
157k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
157k
            SINGLETON;
301
157k
        return SINGLETON;
302
157k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::DEFAULT()
Line
Count
Source
297
3
    {
298
3
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
3
                                 o3tl::ThreadSafeRefCountingPolicy>
300
3
            SINGLETON;
301
3
        return SINGLETON;
302
3
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::DEFAULT()
Line
Count
Source
297
1.23M
    {
298
1.23M
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
1.23M
                                 o3tl::ThreadSafeRefCountingPolicy>
300
1.23M
            SINGLETON;
301
1.23M
        return SINGLETON;
302
1.23M
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XContextMenuInterceptor>::DEFAULT()
Line
Count
Source
297
4.14k
    {
298
4.14k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
4.14k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
4.14k
            SINGLETON;
301
4.14k
        return SINGLETON;
302
4.14k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::DEFAULT()
Line
Count
Source
297
14.5k
    {
298
14.5k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
14.5k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
14.5k
            SINGLETON;
301
14.5k
        return SINGLETON;
302
14.5k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XTitleChangeListener>::DEFAULT()
Line
Count
Source
297
16.7k
    {
298
16.7k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
16.7k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
16.7k
            SINGLETON;
301
16.7k
        return SINGLETON;
302
16.7k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::DEFAULT()
Line
Count
Source
297
5.25k
    {
298
5.25k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
5.25k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
5.25k
            SINGLETON;
301
5.25k
        return SINGLETON;
302
5.25k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::DEFAULT()
Line
Count
Source
297
4.14k
    {
298
4.14k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
4.14k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
4.14k
            SINGLETON;
301
4.14k
        return SINGLETON;
302
4.14k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::io::XStreamListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::DEFAULT()
Line
Count
Source
297
3
    {
298
3
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
3
                                 o3tl::ThreadSafeRefCountingPolicy>
300
3
            SINGLETON;
301
3
        return SINGLETON;
302
3
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::DEFAULT()
Line
Count
Source
297
42.0k
    {
298
42.0k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
42.0k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
42.0k
            SINGLETON;
301
42.0k
        return SINGLETON;
302
42.0k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::DEFAULT()
Line
Count
Source
297
88.2k
    {
298
88.2k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
88.2k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
88.2k
            SINGLETON;
301
88.2k
        return SINGLETON;
302
88.2k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::DEFAULT()
Line
Count
Source
297
4.15k
    {
298
4.15k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
4.15k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
4.15k
            SINGLETON;
301
4.15k
        return SINGLETON;
302
4.15k
    }
comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::DEFAULT()
Line
Count
Source
297
4.15k
    {
298
4.15k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
4.15k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
4.15k
            SINGLETON;
301
4.15k
        return SINGLETON;
302
4.15k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::DEFAULT()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::DEFAULT()
comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::DEFAULT()
Line
Count
Source
297
5.41k
    {
298
5.41k
        static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>,
299
5.41k
                                 o3tl::ThreadSafeRefCountingPolicy>
300
5.41k
            SINGLETON;
301
5.41k
        return SINGLETON;
302
5.41k
    }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::DEFAULT()
303
304
private:
305
    template <typename EventT> class NotifySingleListener
306
    {
307
    private:
308
        typedef void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&);
309
        NotificationMethod const m_pMethod;
310
        const EventT& m_rEvent;
311
312
    public:
313
        NotifySingleListener(NotificationMethod method, const EventT& event)
314
100k
            : m_pMethod(method)
315
100k
            , m_rEvent(event)
316
100k
        {
317
100k
            assert(m_pMethod);
318
100k
        }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::util::XRefreshListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::util::XModifyListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Line
Count
Source
314
100k
            : m_pMethod(method)
315
100k
            , m_rEvent(event)
316
100k
        {
317
            assert(m_pMethod);
318
100k
        }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::NotifySingleListener<com::sun::star::beans::PropertyChangeEvent>::NotifySingleListener(void (com::sun::star::beans::XPropertyChangeListener::*)(com::sun::star::beans::PropertyChangeEvent const&), com::sun::star::beans::PropertyChangeEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::view::XSelectionChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::form::XGridControlListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::form::XUpdateListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::NotifySingleListener<com::sun::star::container::ContainerEvent>::NotifySingleListener(void (com::sun::star::container::XContainerListener::*)(com::sun::star::container::ContainerEvent const&), com::sun::star::container::ContainerEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::util::XFlushListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::NotifySingleListener<com::sun::star::awt::FocusEvent>::NotifySingleListener(void (com::sun::star::awt::XFocusListener::*)(com::sun::star::awt::FocusEvent const&), com::sun::star::awt::FocusEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::awt::WindowEvent>::NotifySingleListener(void (com::sun::star::awt::XWindowListener::*)(com::sun::star::awt::WindowEvent const&), com::sun::star::awt::WindowEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::awt::XWindowListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::NotifySingleListener<com::sun::star::awt::KeyEvent>::NotifySingleListener(void (com::sun::star::awt::XKeyListener::*)(com::sun::star::awt::KeyEvent const&), com::sun::star::awt::KeyEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::NotifySingleListener<com::sun::star::awt::MouseEvent>::NotifySingleListener(void (com::sun::star::awt::XMouseListener::*)(com::sun::star::awt::MouseEvent const&), com::sun::star::awt::MouseEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::NotifySingleListener<com::sun::star::awt::MouseEvent>::NotifySingleListener(void (com::sun::star::awt::XMouseMotionListener::*)(com::sun::star::awt::MouseEvent const&), com::sun::star::awt::MouseEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::NotifySingleListener<com::sun::star::awt::PaintEvent>::NotifySingleListener(void (com::sun::star::awt::XPaintListener::*)(com::sun::star::awt::PaintEvent const&), com::sun::star::awt::PaintEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::document::UndoManagerEvent>::NotifySingleListener(void (com::sun::star::document::XUndoManagerListener::*)(com::sun::star::document::UndoManagerEvent const&), com::sun::star::document::UndoManagerEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::document::XUndoManagerListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::NotifySingleListener<com::sun::star::ui::ConfigurationEvent>::NotifySingleListener(void (com::sun::star::ui::XUIConfigurationListener::*)(com::sun::star::ui::ConfigurationEvent const&), com::sun::star::ui::ConfigurationEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::NotifySingleListener<com::sun::star::document::EventObject>::NotifySingleListener(void (com::sun::star::document::XEventListener::*)(com::sun::star::document::EventObject const&), com::sun::star::document::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent>::NotifySingleListener(void (com::sun::star::document::XDocumentEventListener::*)(com::sun::star::document::DocumentEvent const&), com::sun::star::document::DocumentEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::awt::XItemListListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::awt::ItemListEvent>::NotifySingleListener(void (com::sun::star::awt::XItemListListener::*)(com::sun::star::awt::ItemListEvent const&), com::sun::star::awt::ItemListEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::NotifySingleListener<com::sun::star::beans::PropertySetInfoChangeEvent>::NotifySingleListener(void (com::sun::star::beans::XPropertySetInfoChangeListener::*)(com::sun::star::beans::PropertySetInfoChangeEvent const&), com::sun::star::beans::PropertySetInfoChangeEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::NotifySingleListener<com::sun::star::util::ModeChangeEvent>::NotifySingleListener(void (com::sun::star::util::XModeChangeListener::*)(com::sun::star::util::ModeChangeEvent const&), com::sun::star::util::ModeChangeEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::util::XCloseListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::NotifySingleListener<com::sun::star::frame::FeatureStateEvent>::NotifySingleListener(void (com::sun::star::frame::XStatusListener::*)(com::sun::star::frame::FeatureStateEvent const&), com::sun::star::frame::FeatureStateEvent const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::NotifySingleListener<com::sun::star::chart::ChartDataChangeEvent>::NotifySingleListener(void (com::sun::star::chart::XChartDataChangeEventListener::*)(com::sun::star::chart::ChartDataChangeEvent const&), com::sun::star::chart::ChartDataChangeEvent const&)
319
320
        void operator()(const css::uno::Reference<ListenerT>& listener) const
321
100k
        {
322
100k
            (listener.get()->*m_pMethod)(m_rEvent);
323
100k
        }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&) const
Line
Count
Source
321
100k
        {
322
100k
            (listener.get()->*m_pMethod)(m_rEvent);
323
100k
        }
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::NotifySingleListener<com::sun::star::beans::PropertyChangeEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::beans::XPropertyChangeListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::form::XGridControlListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::form::XUpdateListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::NotifySingleListener<com::sun::star::container::ContainerEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::util::XFlushListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::NotifySingleListener<com::sun::star::awt::FocusEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::awt::WindowEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::NotifySingleListener<com::sun::star::awt::KeyEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::NotifySingleListener<com::sun::star::awt::MouseEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::NotifySingleListener<com::sun::star::awt::MouseEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::NotifySingleListener<com::sun::star::awt::PaintEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::document::UndoManagerEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::document::XUndoManagerListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::document::XUndoManagerListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::NotifySingleListener<com::sun::star::ui::ConfigurationEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::ui::XUIConfigurationListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::NotifySingleListener<com::sun::star::document::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XItemListListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::awt::ItemListEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XItemListListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::NotifySingleListener<com::sun::star::beans::PropertySetInfoChangeEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfoChangeListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::NotifySingleListener<com::sun::star::util::ModeChangeEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::util::XModeChangeListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::NotifySingleListener<com::sun::star::frame::FeatureStateEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::NotifySingleListener<com::sun::star::chart::ChartDataChangeEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::chart::XChartDataChangeEventListener> const&) const
324
    };
325
};
326
327
template <class T>
328
inline OInterfaceContainerHelper4<T>::OInterfaceContainerHelper4()
329
4.50M
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
4.50M
{
331
4.50M
}
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
2.77M
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
2.77M
{
331
2.77M
}
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
12.6k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
12.6k
{
331
12.6k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
12.6k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
12.6k
{
331
12.6k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
57
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
57
{
331
57
}
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
4.21k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
4.21k
{
331
4.21k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
57
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
57
{
331
57
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
164k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
164k
{
331
164k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
75.9k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
75.9k
{
331
75.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
75.8k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
75.8k
{
331
75.8k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
75.9k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
75.9k
{
331
75.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
75.9k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
75.9k
{
331
75.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
75.9k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
75.9k
{
331
75.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
75.9k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
75.9k
{
331
75.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
164k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
164k
{
331
164k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
55
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
55
{
331
55
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
80.4k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
80.4k
{
331
80.4k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
3
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
3
{
331
3
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
650k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
650k
{
331
650k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XContextMenuInterceptor>::OInterfaceContainerHelper4()
Line
Count
Source
329
4.14k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
4.14k
{
331
4.14k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
14.5k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
14.5k
{
331
14.5k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XTitleChangeListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
16.7k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
16.7k
{
331
16.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
2.62k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
2.62k
{
331
2.62k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
4.14k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
4.14k
{
331
4.14k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::io::XStreamListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
3
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
3
{
331
3
}
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
42.0k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
42.0k
{
331
42.0k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::OInterfaceContainerHelper4()
Line
Count
Source
329
88.2k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
88.2k
{
331
88.2k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
4.15k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
4.15k
{
331
4.15k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
4.15k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
4.15k
{
331
4.15k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::OInterfaceContainerHelper4()
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::OInterfaceContainerHelper4()
comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::OInterfaceContainerHelper4()
Line
Count
Source
329
5.41k
    : maData(OInterfaceContainerHelper4<T>::DEFAULT())
330
5.41k
{
331
5.41k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::OInterfaceContainerHelper4()
332
333
template <class T>
334
template <typename FuncT>
335
inline void OInterfaceContainerHelper4<T>::forEach(std::unique_lock<std::mutex>& rGuard,
336
                                                   FuncT const& func) const
337
109k
{
338
109k
    assert(rGuard.owns_lock());
339
109k
    if (std::as_const(maData)->empty())
340
31
    {
341
31
        return;
342
31
    }
343
109k
    const_cast<OInterfaceContainerHelper4&>(*this)
344
109k
        .maData.make_unique(); // so we can iterate over the data without holding the lock
345
109k
    OInterfaceIteratorHelper4<T> iter(rGuard, const_cast<OInterfaceContainerHelper4&>(*this));
346
109k
    rGuard.unlock();
347
219k
    while (iter.hasMoreElements())
348
109k
    {
349
109k
        auto xListener = iter.next();
350
109k
        try
351
109k
        {
352
109k
            func(xListener);
353
109k
        }
354
109k
        catch (css::lang::DisposedException const& exc)
355
109k
        {
356
0
            if (exc.Context == xListener)
357
0
            {
358
0
                rGuard.lock();
359
0
                iter.remove(rGuard);
360
0
                rGuard.unlock();
361
0
            }
362
0
        }
363
109k
    }
364
109k
    rGuard.lock();
365
109k
}
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: DrawModelBroadcaster.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::forEach<ScDrawModelBroadcaster::Notify(SfxBroadcaster&, SfxHint const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, ScDrawModelBroadcaster::Notify(SfxBroadcaster&, SfxHint const&)::$_0 const&) const
Unexecuted instantiation: celllistsource.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::forEach<calc::OCellListSource::notifyModified()::$_0>(std::__1::unique_lock<std::__1::mutex>&, calc::OCellListSource::notifyModified()::$_0 const&) const
Unexecuted instantiation: cellvaluebinding.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::forEach<calc::OCellValueBinding::notifyModified()::$_0>(std::__1::unique_lock<std::__1::mutex>&, calc::OCellValueBinding::notifyModified()::$_0 const&) const
Unexecuted instantiation: unoctitm.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::forEach<SfxStatusDispatcher::sendStatusChanged(rtl::OUString const&, com::sun::star::frame::FeatureStateEvent const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, SfxStatusDispatcher::sendStatusChanged(rtl::OUString const&, com::sun::star::frame::FeatureStateEvent const&)::$_0 const&) const
void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Line
Count
Source
337
100k
{
338
100k
    assert(rGuard.owns_lock());
339
100k
    if (std::as_const(maData)->empty())
340
0
    {
341
0
        return;
342
0
    }
343
100k
    const_cast<OInterfaceContainerHelper4&>(*this)
344
100k
        .maData.make_unique(); // so we can iterate over the data without holding the lock
345
100k
    OInterfaceIteratorHelper4<T> iter(rGuard, const_cast<OInterfaceContainerHelper4&>(*this));
346
100k
    rGuard.unlock();
347
200k
    while (iter.hasMoreElements())
348
100k
    {
349
100k
        auto xListener = iter.next();
350
100k
        try
351
100k
        {
352
100k
            func(xListener);
353
100k
        }
354
100k
        catch (css::lang::DisposedException const& exc)
355
100k
        {
356
0
            if (exc.Context == xListener)
357
0
            {
358
0
                rGuard.lock();
359
0
                iter.remove(rGuard);
360
0
                rGuard.unlock();
361
0
            }
362
0
        }
363
100k
    }
364
100k
    rGuard.lock();
365
100k
}
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::NotifySingleListener<com::sun::star::beans::PropertyChangeEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::NotifySingleListener<com::sun::star::beans::PropertyChangeEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::NotifySingleListener<com::sun::star::container::ContainerEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::NotifySingleListener<com::sun::star::container::ContainerEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::NotifySingleListener<com::sun::star::awt::FocusEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::NotifySingleListener<com::sun::star::awt::FocusEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::awt::WindowEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::awt::WindowEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::NotifySingleListener<com::sun::star::awt::KeyEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::NotifySingleListener<com::sun::star::awt::KeyEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::NotifySingleListener<com::sun::star::awt::PaintEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::NotifySingleListener<com::sun::star::awt::PaintEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::document::UndoManagerEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::document::UndoManagerEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::NotifySingleListener<com::sun::star::ui::ConfigurationEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::NotifySingleListener<com::sun::star::ui::ConfigurationEvent> const&) const
Unexecuted instantiation: uiconfigurationmanager.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::forEach<(anonymous namespace)::UIConfigurationManager::implts_notifyContainerListener(com::sun::star::ui::ConfigurationEvent const&, (anonymous namespace)::UIConfigurationManager::NotifyOp)::$_0>(std::__1::unique_lock<std::__1::mutex>&, (anonymous namespace)::UIConfigurationManager::implts_notifyContainerListener(com::sun::star::ui::ConfigurationEvent const&, (anonymous namespace)::UIConfigurationManager::NotifyOp)::$_0 const&) const
SfxDocumentMetaData.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::forEach<(anonymous namespace)::SfxDocumentMetaData::createUserDefined(std::__1::unique_lock<std::__1::mutex>&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, (anonymous namespace)::SfxDocumentMetaData::createUserDefined(std::__1::unique_lock<std::__1::mutex>&)::$_0 const&) const
Line
Count
Source
337
9.80k
{
338
9.80k
    assert(rGuard.owns_lock());
339
9.80k
    if (std::as_const(maData)->empty())
340
31
    {
341
31
        return;
342
31
    }
343
9.77k
    const_cast<OInterfaceContainerHelper4&>(*this)
344
9.77k
        .maData.make_unique(); // so we can iterate over the data without holding the lock
345
9.77k
    OInterfaceIteratorHelper4<T> iter(rGuard, const_cast<OInterfaceContainerHelper4&>(*this));
346
9.77k
    rGuard.unlock();
347
19.5k
    while (iter.hasMoreElements())
348
9.77k
    {
349
9.77k
        auto xListener = iter.next();
350
9.77k
        try
351
9.77k
        {
352
9.77k
            func(xListener);
353
9.77k
        }
354
9.77k
        catch (css::lang::DisposedException const& exc)
355
9.77k
        {
356
0
            if (exc.Context == xListener)
357
0
            {
358
0
                rGuard.lock();
359
0
                iter.remove(rGuard);
360
0
                rGuard.unlock();
361
0
            }
362
0
        }
363
9.77k
    }
364
9.77k
    rGuard.lock();
365
9.77k
}
Unexecuted instantiation: vclxtoolkit.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::forEach<(anonymous namespace)::VCLXToolkit::callTopWindowListeners(VclSimpleEvent const*, void (com::sun::star::awt::XTopWindowListener::*)(com::sun::star::lang::EventObject const&))::$_0>(std::__1::unique_lock<std::__1::mutex>&, (anonymous namespace)::VCLXToolkit::callTopWindowListeners(VclSimpleEvent const*, void (com::sun::star::awt::XTopWindowListener::*)(com::sun::star::lang::EventObject const&))::$_0 const&) const
Unexecuted instantiation: vclxtoolkit.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::forEach<(anonymous namespace)::VCLXToolkit::callFocusListeners(VclSimpleEvent const*, bool)::$_0>(std::__1::unique_lock<std::__1::mutex>&, (anonymous namespace)::VCLXToolkit::callFocusListeners(VclSimpleEvent const*, bool)::$_0 const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::awt::ItemListEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::NotifySingleListener<com::sun::star::awt::ItemListEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::NotifySingleListener<com::sun::star::beans::PropertySetInfoChangeEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::NotifySingleListener<com::sun::star::beans::PropertySetInfoChangeEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::NotifySingleListener<com::sun::star::util::ModeChangeEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::NotifySingleListener<com::sun::star::util::ModeChangeEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) const
Unexecuted instantiation: ChartModel_Persistence.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::forEach<chart::ChartModel::impl_notifyStorageChangeListeners()::$_0>(std::__1::unique_lock<std::__1::mutex>&, chart::ChartModel::impl_notifyStorageChangeListeners()::$_0 const&) const
Unexecuted instantiation: LifeTime.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::forEach<apphelper::CloseableLifeTimeManager::g_close_startTryClose(bool)::$_0>(std::__1::unique_lock<std::__1::mutex>&, apphelper::CloseableLifeTimeManager::g_close_startTryClose(bool)::$_0 const&) const
Unexecuted instantiation: RangeHighlighter.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::forEach<chart::RangeHighlighter::fireSelectionEvent()::$_0>(std::__1::unique_lock<std::__1::mutex>&, chart::RangeHighlighter::fireSelectionEvent()::$_0 const&) const
Unexecuted instantiation: ChartDataWrapper.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::forEach<chart::wrapper::ChartDataWrapper::fireChartDataChangeEvent(com::sun::star::chart::ChartDataChangeEvent&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, chart::wrapper::ChartDataWrapper::fireChartDataChangeEvent(com::sun::star::chart::ChartDataChangeEvent&)::$_0 const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::NotifySingleListener<com::sun::star::frame::FeatureStateEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::NotifySingleListener<com::sun::star::frame::FeatureStateEvent> const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::NotifySingleListener<com::sun::star::chart::ChartDataChangeEvent> >(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::NotifySingleListener<com::sun::star::chart::ChartDataChangeEvent> const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::beginEvent(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::beginEvent(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&)::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::endEvent(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::endEvent(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&)::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::repeat(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&, int)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::repeat(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&, int)::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::paused()::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::paused()::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::resumed()::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::resumed()::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::slideTransitionStarted()::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::slideTransitionStarted()::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::slideTransitionEnded()::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::slideTransitionEnded()::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::slideAnimationsEnded()::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::slideAnimationsEnded()::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::slideEnded(unsigned char)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::slideEnded(unsigned char)::$_0 const&) const
Unexecuted instantiation: slideshowimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::forEach<sd::SlideShowListenerProxy::hyperLinkClicked(rtl::OUString const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowListenerProxy::hyperLinkClicked(rtl::OUString const&)::$_0 const&) const
Unexecuted instantiation: slideshowviewimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::forEach<sd::SlideShowViewMouseListeners::notify(std::__1::unique_lock<std::__1::mutex>&, sd::WrappedMouseEvent const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowViewMouseListeners::notify(std::__1::unique_lock<std::__1::mutex>&, sd::WrappedMouseEvent const&)::$_0 const&) const
Unexecuted instantiation: slideshowviewimpl.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::forEach<sd::SlideShowViewMouseMotionListeners::notify(std::__1::unique_lock<std::__1::mutex>&, sd::WrappedMouseMotionEvent const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, sd::SlideShowViewMouseMotionListeners::notify(std::__1::unique_lock<std::__1::mutex>&, sd::WrappedMouseMotionEvent const&)::$_0 const&) const
Unexecuted instantiation: tabledesign.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::forEach<sdr::table::(anonymous namespace)::TableDesignStyle::notifyModifyListener()::$_0>(std::__1::unique_lock<std::__1::mutex>&, sdr::table::(anonymous namespace)::TableDesignStyle::notifyModifyListener()::$_0 const&) const
366
367
template <class T>
368
template <typename FuncT, typename ExceptionFuncT>
369
inline void OInterfaceContainerHelper4<T>::forEach(std::unique_lock<std::mutex>& rGuard,
370
                                                   FuncT const& func,
371
                                                   ExceptionFuncT const& exceptionFunc) const
372
0
{
373
0
    assert(rGuard.owns_lock());
374
0
    if (std::as_const(maData)->empty())
375
0
    {
376
0
        return;
377
0
    }
378
0
    const_cast<OInterfaceContainerHelper4&>(*this)
379
0
        .maData.make_unique(); // so we can iterate over the data without holding the lock
380
0
    OInterfaceIteratorHelper4<T> iter(rGuard, const_cast<OInterfaceContainerHelper4&>(*this));
381
0
    rGuard.unlock();
382
0
    while (iter.hasMoreElements())
383
0
    {
384
0
        auto xListener = iter.next();
385
0
        try
386
0
        {
387
0
            func(xListener);
388
0
        }
389
0
        catch (css::lang::DisposedException const& exc)
390
0
        {
391
0
            if (exc.Context == xListener)
392
0
            {
393
0
                rGuard.lock();
394
0
                iter.remove(rGuard);
395
0
                rGuard.unlock();
396
0
            }
397
0
        }
398
0
        catch (css::uno::Exception)
399
0
        {
400
0
            exceptionFunc();
401
0
        }
402
0
    }
403
0
    rGuard.lock();
404
0
}
Unexecuted instantiation: globalevents.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::NotifySingleListener<com::sun::star::document::EventObject>, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::NotifySingleListener<com::sun::star::document::EventObject> const&, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_0 const&) const
Unexecuted instantiation: globalevents.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::forEach<comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent>, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_1>(std::__1::unique_lock<std::__1::mutex>&, comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent> const&, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_1 const&) const
405
406
template <class ListenerT>
407
template <typename EventT>
408
inline void OInterfaceContainerHelper4<ListenerT>::notifyEach(
409
    std::unique_lock<std::mutex>& rGuard,
410
    void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&), const EventT& Event) const
411
100k
{
412
100k
    forEach<NotifySingleListener<EventT>>(rGuard,
413
100k
                                          NotifySingleListener<EventT>(NotificationMethod, Event));
414
100k
}
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::util::XRefreshListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::util::XModifyListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Line
Count
Source
411
100k
{
412
100k
    forEach<NotifySingleListener<EventT>>(rGuard,
413
100k
                                          NotifySingleListener<EventT>(NotificationMethod, Event));
414
100k
}
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::notifyEach<com::sun::star::beans::PropertyChangeEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::beans::XPropertyChangeListener::*)(com::sun::star::beans::PropertyChangeEvent const&), com::sun::star::beans::PropertyChangeEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::view::XSelectionChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::form::XGridControlListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::form::XUpdateListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::notifyEach<com::sun::star::container::ContainerEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::container::XContainerListener::*)(com::sun::star::container::ContainerEvent const&), com::sun::star::container::ContainerEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::util::XFlushListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::notifyEach<com::sun::star::awt::FocusEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XFocusListener::*)(com::sun::star::awt::FocusEvent const&), com::sun::star::awt::FocusEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::notifyEach<com::sun::star::awt::WindowEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XWindowListener::*)(com::sun::star::awt::WindowEvent const&), com::sun::star::awt::WindowEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XWindowListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::notifyEach<com::sun::star::awt::KeyEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XKeyListener::*)(com::sun::star::awt::KeyEvent const&), com::sun::star::awt::KeyEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::notifyEach<com::sun::star::awt::MouseEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XMouseListener::*)(com::sun::star::awt::MouseEvent const&), com::sun::star::awt::MouseEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::notifyEach<com::sun::star::awt::MouseEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XMouseMotionListener::*)(com::sun::star::awt::MouseEvent const&), com::sun::star::awt::MouseEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::notifyEach<com::sun::star::awt::PaintEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XPaintListener::*)(com::sun::star::awt::PaintEvent const&), com::sun::star::awt::PaintEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::notifyEach<com::sun::star::document::UndoManagerEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::document::XUndoManagerListener::*)(com::sun::star::document::UndoManagerEvent const&), com::sun::star::document::UndoManagerEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::document::XUndoManagerListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::notifyEach<com::sun::star::ui::ConfigurationEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::ui::XUIConfigurationListener::*)(com::sun::star::ui::ConfigurationEvent const&), com::sun::star::ui::ConfigurationEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XItemListListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::notifyEach<com::sun::star::awt::ItemListEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::awt::XItemListListener::*)(com::sun::star::awt::ItemListEvent const&), com::sun::star::awt::ItemListEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::notifyEach<com::sun::star::beans::PropertySetInfoChangeEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::beans::XPropertySetInfoChangeListener::*)(com::sun::star::beans::PropertySetInfoChangeEvent const&), com::sun::star::beans::PropertySetInfoChangeEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::notifyEach<com::sun::star::util::ModeChangeEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::util::XModeChangeListener::*)(com::sun::star::util::ModeChangeEvent const&), com::sun::star::util::ModeChangeEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::notifyEach<com::sun::star::lang::EventObject>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::util::XCloseListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::notifyEach<com::sun::star::frame::FeatureStateEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::frame::XStatusListener::*)(com::sun::star::frame::FeatureStateEvent const&), com::sun::star::frame::FeatureStateEvent const&) const
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::notifyEach<com::sun::star::chart::ChartDataChangeEvent>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::chart::XChartDataChangeEventListener::*)(com::sun::star::chart::ChartDataChangeEvent const&), com::sun::star::chart::ChartDataChangeEvent const&) const
415
416
template <class ListenerT>
417
template <typename EventT, typename ExceptionFuncT>
418
inline void OInterfaceContainerHelper4<ListenerT>::notifyEach(
419
    std::unique_lock<std::mutex>& rGuard,
420
    void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&), const EventT& Event,
421
    const ExceptionFuncT& exceptionFunc) const
422
0
{
423
0
    forEach<NotifySingleListener<EventT>>(
424
0
        rGuard, NotifySingleListener<EventT>(NotificationMethod, Event), exceptionFunc);
425
0
}
Unexecuted instantiation: globalevents.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::notifyEach<com::sun::star::document::EventObject, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_0>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::document::XEventListener::*)(com::sun::star::document::EventObject const&), com::sun::star::document::EventObject const&, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_0 const&) const
Unexecuted instantiation: globalevents.cxx:void comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::notifyEach<com::sun::star::document::DocumentEvent, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_1>(std::__1::unique_lock<std::__1::mutex>&, void (com::sun::star::document::XDocumentEventListener::*)(com::sun::star::document::DocumentEvent const&), com::sun::star::document::DocumentEvent const&, (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener(com::sun::star::document::DocumentEvent const&)::$_1 const&) const
426
427
template <class ListenerT>
428
sal_Int32
429
OInterfaceContainerHelper4<ListenerT>::getLength(std::unique_lock<std::mutex>& rGuard) const
430
529k
{
431
529k
    assert(rGuard.owns_lock());
432
529k
    (void)rGuard;
433
529k
    return maData->size();
434
529k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
53.8k
{
431
    assert(rGuard.owns_lock());
432
53.8k
    (void)rGuard;
433
53.8k
    return maData->size();
434
53.8k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
12.3k
{
431
    assert(rGuard.owns_lock());
432
12.3k
    (void)rGuard;
433
12.3k
    return maData->size();
434
12.3k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
4.13k
{
431
    assert(rGuard.owns_lock());
432
4.13k
    (void)rGuard;
433
4.13k
    return maData->size();
434
4.13k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
189k
{
431
    assert(rGuard.owns_lock());
432
189k
    (void)rGuard;
433
189k
    return maData->size();
434
189k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
185k
{
431
    assert(rGuard.owns_lock());
432
185k
    (void)rGuard;
433
185k
    return maData->size();
434
185k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
6.07k
{
431
    assert(rGuard.owns_lock());
432
6.07k
    (void)rGuard;
433
6.07k
    return maData->size();
434
6.07k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
Line
Count
Source
430
78.8k
{
431
    assert(rGuard.owns_lock());
432
78.8k
    (void)rGuard;
433
78.8k
    return maData->size();
434
78.8k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::getLength(std::__1::unique_lock<std::__1::mutex>&) const
435
436
template <class ListenerT>
437
std::vector<css::uno::Reference<ListenerT>>
438
OInterfaceContainerHelper4<ListenerT>::getElements(std::unique_lock<std::mutex>& rGuard) const
439
0
{
440
0
    assert(rGuard.owns_lock());
441
0
    (void)rGuard;
442
0
    return *maData;
443
0
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XContextMenuInterceptor>::getElements(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::getElements(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::getElements(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::getElements(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::getElements(std::__1::unique_lock<std::__1::mutex>&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::getElements(std::__1::unique_lock<std::__1::mutex>&) const
444
445
template <class ListenerT>
446
sal_Int32
447
OInterfaceContainerHelper4<ListenerT>::addInterface(std::unique_lock<std::mutex>& rGuard,
448
                                                    const css::uno::Reference<ListenerT>& rListener)
449
230k
{
450
230k
    assert(rGuard.owns_lock());
451
230k
    (void)rGuard;
452
230k
    assert(rListener.is());
453
230k
    maData->push_back(rListener);
454
230k
    return std::as_const(maData)->size();
455
230k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::datatransfer::dnd::XDragGestureListener> const&)
Line
Count
Source
449
4.14k
{
450
4.14k
    assert(rGuard.owns_lock());
451
4.14k
    (void)rGuard;
452
    assert(rListener.is());
453
4.14k
    maData->push_back(rListener);
454
4.14k
    return std::as_const(maData)->size();
455
4.14k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::datatransfer::dnd::XDropTargetListener> const&)
Line
Count
Source
449
20.9k
{
450
20.9k
    assert(rGuard.owns_lock());
451
20.9k
    (void)rGuard;
452
    assert(rListener.is());
453
20.9k
    maData->push_back(rListener);
454
20.9k
    return std::as_const(maData)->size();
455
20.9k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleEventListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::lang::XEventListener> const&)
Line
Count
Source
449
32.3k
{
450
32.3k
    assert(rGuard.owns_lock());
451
32.3k
    (void)rGuard;
452
    assert(rListener.is());
453
32.3k
    maData->push_back(rListener);
454
32.3k
    return std::as_const(maData)->size();
455
32.3k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertyChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XVetoableChangeListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&)
Line
Count
Source
449
4.21k
{
450
4.21k
    assert(rGuard.owns_lock());
451
4.21k
    (void)rGuard;
452
    assert(rListener.is());
453
4.21k
    maData->push_back(rListener);
454
4.21k
    return std::as_const(maData)->size();
455
4.21k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XVclContainerListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMenuListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTopWindowListener> const&)
Line
Count
Source
449
16.7k
{
450
16.7k
    assert(rGuard.owns_lock());
451
16.7k
    (void)rGuard;
452
    assert(rListener.is());
453
16.7k
    maData->push_back(rListener);
454
16.7k
    return std::as_const(maData)->size();
455
16.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&)
Line
Count
Source
449
25.2k
{
450
25.2k
    assert(rGuard.owns_lock());
451
25.2k
    (void)rGuard;
452
    assert(rListener.is());
453
25.2k
    maData->push_back(rListener);
454
25.2k
    return std::as_const(maData)->size();
455
25.2k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> const&)
Line
Count
Source
449
16.7k
{
450
16.7k
    assert(rGuard.owns_lock());
451
16.7k
    (void)rGuard;
452
    assert(rListener.is());
453
16.7k
    maData->push_back(rListener);
454
16.7k
    return std::as_const(maData)->size();
455
16.7k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XActionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XItemListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XSpinListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTabListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XAdjustmentListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTextListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> const&)
Line
Count
Source
449
55
{
450
55
    assert(rGuard.owns_lock());
451
55
    (void)rGuard;
452
    assert(rListener.is());
453
55
    maData->push_back(rListener);
454
55
    return std::as_const(maData)->size();
455
55
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeExpansionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeEditListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::binding::XListEntryListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&)
Line
Count
Source
449
66.6k
{
450
66.6k
    assert(rGuard.owns_lock());
451
66.6k
    (void)rGuard;
452
    assert(rListener.is());
453
66.6k
    maData->push_back(rListener);
454
66.6k
    return std::as_const(maData)->size();
455
66.6k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XContextMenuInterceptor>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ui::XContextMenuInterceptor> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::view::XPrintJobListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::XUpdateListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::XGridControlListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XFlushListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XTitleChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::frame::XTitleChangeListener> const&)
Line
Count
Source
449
16.7k
{
450
16.7k
    assert(rGuard.owns_lock());
451
16.7k
    (void)rGuard;
452
    assert(rListener.is());
453
16.7k
    maData->push_back(rListener);
454
16.7k
    return std::as_const(maData)->size();
455
16.7k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XUndoManagerListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ui::XUIConfigurationListener> const&)
Line
Count
Source
449
4.14k
{
450
4.14k
    assert(rGuard.owns_lock());
451
4.14k
    (void)rGuard;
452
    assert(rListener.is());
453
4.14k
    maData->push_back(rListener);
454
4.14k
    return std::as_const(maData)->size();
455
4.14k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::io::XStreamListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::io::XStreamListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&)
Line
Count
Source
449
10.9k
{
450
10.9k
    assert(rGuard.owns_lock());
451
10.9k
    (void)rGuard;
452
    assert(rListener.is());
453
10.9k
    maData->push_back(rListener);
454
10.9k
    return std::as_const(maData)->size();
455
10.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XChangesListener> const&)
Line
Count
Source
449
3.39k
{
450
3.39k
    assert(rGuard.owns_lock());
451
3.39k
    (void)rGuard;
452
    assert(rListener.is());
453
3.39k
    maData->push_back(rListener);
454
3.39k
    return std::as_const(maData)->size();
455
3.39k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XKeyHandler> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::grid::XGridSelectionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XItemListListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tab::XTabPageContainerListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfoChangeListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ucb::XContentEventListener> const&)
Line
Count
Source
449
8.31k
{
450
8.31k
    assert(rGuard.owns_lock());
451
8.31k
    (void)rGuard;
452
    assert(rListener.is());
453
8.31k
    maData->push_back(rListener);
454
8.31k
    return std::as_const(maData)->size();
455
8.31k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XModeChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XStorageChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::chart::XChartDataChangeEventListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::addInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::presentation::XSlideShowListener> const&)
456
457
template <class ListenerT>
458
sal_Int32 OInterfaceContainerHelper4<ListenerT>::removeInterface(
459
    std::unique_lock<std::mutex>& rGuard, const css::uno::Reference<ListenerT>& rListener)
460
111k
{
461
111k
    assert(rGuard.owns_lock());
462
111k
    (void)rGuard;
463
111k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
111k
    auto it = std::find_if(maData->begin(), maData->end(),
467
690k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
690k
                               return rItem.get() == rListener.get();
469
690k
                           });
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::datatransfer::dnd::XDragGestureListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
4.14k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
4.14k
                               return rItem.get() == rListener.get();
469
4.14k
                           });
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::datatransfer::dnd::XDropTargetListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
16.5k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
16.5k
                               return rItem.get() == rListener.get();
469
16.5k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleEventListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::lang::XEventListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
579k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
579k
                               return rItem.get() == rListener.get();
469
579k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertyChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XVetoableChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
4.21k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
4.21k
                               return rItem.get() == rListener.get();
469
4.21k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XVclContainerListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMenuListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTopWindowListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
12.4k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
12.4k
                               return rItem.get() == rListener.get();
469
12.4k
                           });
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
28.9k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
28.9k
                               return rItem.get() == rListener.get();
469
28.9k
                           });
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
12.4k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
12.4k
                               return rItem.get() == rListener.get();
469
12.4k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XActionListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XItemListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XSpinListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTabListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XAdjustmentListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTextListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
55
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
55
                               return rItem.get() == rListener.get();
469
55
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeExpansionListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::grid::XGridSelectionListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tab::XTabPageContainerListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeEditListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::binding::XListEntryListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
1.14k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
1.14k
                               return rItem.get() == rListener.get();
469
1.14k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XContextMenuInterceptor>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ui::XContextMenuInterceptor> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::view::XPrintJobListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::XUpdateListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::XGridControlListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XFlushListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XTitleChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::frame::XTitleChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XUndoManagerListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ui::XUIConfigurationListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
4.14k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
4.14k
                               return rItem.get() == rListener.get();
469
4.14k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::io::XStreamListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::io::XStreamListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
10.9k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
10.9k
                               return rItem.get() == rListener.get();
469
10.9k
                           });
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XChangesListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
3.39k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
3.39k
                               return rItem.get() == rListener.get();
469
3.39k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XKeyHandler> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XItemListListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfoChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ucb::XContentEventListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Line
Count
Source
467
12.4k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
12.4k
                               return rItem.get() == rListener.get();
469
12.4k
                           });
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XModeChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XStorageChangeListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::chart::XChartDataChangeEventListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::presentation::XSlideShowListener> const&)::{lambda(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)#1}::operator()(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) const
470
471
    // interface not found, use the correct compare method
472
111k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
111k
    if (it != maData->end())
476
111k
        maData->erase(it);
477
478
111k
    return std::as_const(maData)->size();
479
111k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDragGestureListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::datatransfer::dnd::XDragGestureListener> const&)
Line
Count
Source
460
4.14k
{
461
4.14k
    assert(rGuard.owns_lock());
462
4.14k
    (void)rGuard;
463
4.14k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
4.14k
    auto it = std::find_if(maData->begin(), maData->end(),
467
4.14k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
4.14k
                               return rItem.get() == rListener.get();
469
4.14k
                           });
470
471
    // interface not found, use the correct compare method
472
4.14k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
4.14k
    if (it != maData->end())
476
4.14k
        maData->erase(it);
477
478
4.14k
    return std::as_const(maData)->size();
479
4.14k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::datatransfer::dnd::XDropTargetListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::datatransfer::dnd::XDropTargetListener> const&)
Line
Count
Source
460
16.5k
{
461
16.5k
    assert(rGuard.owns_lock());
462
16.5k
    (void)rGuard;
463
16.5k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
16.5k
    auto it = std::find_if(maData->begin(), maData->end(),
467
16.5k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
16.5k
                               return rItem.get() == rListener.get();
469
16.5k
                           });
470
471
    // interface not found, use the correct compare method
472
16.5k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
16.5k
    if (it != maData->end())
476
16.5k
        maData->erase(it);
477
478
16.5k
    return std::as_const(maData)->size();
479
16.5k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleEventListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::lang::XEventListener> const&)
Line
Count
Source
460
17.5k
{
461
17.5k
    assert(rGuard.owns_lock());
462
17.5k
    (void)rGuard;
463
17.5k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
17.5k
    auto it = std::find_if(maData->begin(), maData->end(),
467
17.5k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
17.5k
                               return rItem.get() == rListener.get();
469
17.5k
                           });
470
471
    // interface not found, use the correct compare method
472
17.5k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
17.5k
    if (it != maData->end())
476
17.5k
        maData->erase(it);
477
478
17.5k
    return std::as_const(maData)->size();
479
17.5k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertyChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XVetoableChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XVetoableChangeListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&)
Line
Count
Source
460
4.21k
{
461
4.21k
    assert(rGuard.owns_lock());
462
4.21k
    (void)rGuard;
463
4.21k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
4.21k
    auto it = std::find_if(maData->begin(), maData->end(),
467
4.21k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
4.21k
                               return rItem.get() == rListener.get();
469
4.21k
                           });
470
471
    // interface not found, use the correct compare method
472
4.21k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
4.21k
    if (it != maData->end())
476
4.21k
        maData->erase(it);
477
478
4.21k
    return std::as_const(maData)->size();
479
4.21k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XVclContainerListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMenuListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMenuListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTopWindowListener> const&)
Line
Count
Source
460
12.4k
{
461
12.4k
    assert(rGuard.owns_lock());
462
12.4k
    (void)rGuard;
463
12.4k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
12.4k
    auto it = std::find_if(maData->begin(), maData->end(),
467
12.4k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
12.4k
                               return rItem.get() == rListener.get();
469
12.4k
                           });
470
471
    // interface not found, use the correct compare method
472
12.4k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
12.4k
    if (it != maData->end())
476
12.4k
        maData->erase(it);
477
478
12.4k
    return std::as_const(maData)->size();
479
12.4k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&)
Line
Count
Source
460
16.5k
{
461
16.5k
    assert(rGuard.owns_lock());
462
16.5k
    (void)rGuard;
463
16.5k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
16.5k
    auto it = std::find_if(maData->begin(), maData->end(),
467
16.5k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
16.5k
                               return rItem.get() == rListener.get();
469
16.5k
                           });
470
471
    // interface not found, use the correct compare method
472
16.5k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
16.5k
    if (it != maData->end())
476
16.5k
        maData->erase(it);
477
478
16.5k
    return std::as_const(maData)->size();
479
16.5k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> const&)
Line
Count
Source
460
12.4k
{
461
12.4k
    assert(rGuard.owns_lock());
462
12.4k
    (void)rGuard;
463
12.4k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
12.4k
    auto it = std::find_if(maData->begin(), maData->end(),
467
12.4k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
12.4k
                               return rItem.get() == rListener.get();
469
12.4k
                           });
470
471
    // interface not found, use the correct compare method
472
12.4k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
12.4k
    if (it != maData->end())
476
12.4k
        maData->erase(it);
477
478
12.4k
    return std::as_const(maData)->size();
479
12.4k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XActionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XItemListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XSpinListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XSpinListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTabListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XAdjustmentListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XTextListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> const&)
Line
Count
Source
460
55
{
461
55
    assert(rGuard.owns_lock());
462
55
    (void)rGuard;
463
55
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
55
    auto it = std::find_if(maData->begin(), maData->end(),
467
55
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
55
                               return rItem.get() == rListener.get();
469
55
                           });
470
471
    // interface not found, use the correct compare method
472
55
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
55
    if (it != maData->end())
476
55
        maData->erase(it);
477
478
55
    return std::as_const(maData)->size();
479
55
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeExpansionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::grid::XGridSelectionListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tab::XTabPageContainerListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeEditListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeEditListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::binding::XListEntryListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&)
Line
Count
Source
460
1.14k
{
461
1.14k
    assert(rGuard.owns_lock());
462
1.14k
    (void)rGuard;
463
1.14k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
1.14k
    auto it = std::find_if(maData->begin(), maData->end(),
467
1.14k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
1.14k
                               return rItem.get() == rListener.get();
469
1.14k
                           });
470
471
    // interface not found, use the correct compare method
472
1.14k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
1.14k
    if (it != maData->end())
476
1.14k
        maData->erase(it);
477
478
1.14k
    return std::as_const(maData)->size();
479
1.14k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XContextMenuInterceptor>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ui::XContextMenuInterceptor> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XPrintJobListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::view::XPrintJobListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::XUpdateListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XGridControlListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::form::XGridControlListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XFlushListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XFlushListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XTitleChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::frame::XTitleChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XUndoManagerListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ui::XUIConfigurationListener> const&)
Line
Count
Source
460
4.14k
{
461
4.14k
    assert(rGuard.owns_lock());
462
4.14k
    (void)rGuard;
463
4.14k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
4.14k
    auto it = std::find_if(maData->begin(), maData->end(),
467
4.14k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
4.14k
                               return rItem.get() == rListener.get();
469
4.14k
                           });
470
471
    // interface not found, use the correct compare method
472
4.14k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
4.14k
    if (it != maData->end())
476
4.14k
        maData->erase(it);
477
478
4.14k
    return std::as_const(maData)->size();
479
4.14k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::io::XStreamListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::io::XStreamListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&)
Line
Count
Source
460
10.9k
{
461
10.9k
    assert(rGuard.owns_lock());
462
10.9k
    (void)rGuard;
463
10.9k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
10.9k
    auto it = std::find_if(maData->begin(), maData->end(),
467
10.9k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
10.9k
                               return rItem.get() == rListener.get();
469
10.9k
                           });
470
471
    // interface not found, use the correct compare method
472
10.9k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
10.9k
    if (it != maData->end())
476
10.9k
        maData->erase(it);
477
478
10.9k
    return std::as_const(maData)->size();
479
10.9k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XChangesListener> const&)
Line
Count
Source
460
3.39k
{
461
3.39k
    assert(rGuard.owns_lock());
462
3.39k
    (void)rGuard;
463
3.39k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
3.39k
    auto it = std::find_if(maData->begin(), maData->end(),
467
3.39k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
3.39k
                               return rItem.get() == rListener.get();
469
3.39k
                           });
470
471
    // interface not found, use the correct compare method
472
3.39k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
3.39k
    if (it != maData->end())
476
3.39k
        maData->erase(it);
477
478
3.39k
    return std::as_const(maData)->size();
479
3.39k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XKeyHandler> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::awt::XItemListListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfoChangeListener> const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::ucb::XContentEventListener> const&)
Line
Count
Source
460
8.31k
{
461
8.31k
    assert(rGuard.owns_lock());
462
8.31k
    (void)rGuard;
463
8.31k
    assert(rListener.is());
464
465
    // It is not valid to compare the pointer directly, but it's faster.
466
8.31k
    auto it = std::find_if(maData->begin(), maData->end(),
467
8.31k
                           [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) {
468
8.31k
                               return rItem.get() == rListener.get();
469
8.31k
                           });
470
471
    // interface not found, use the correct compare method
472
8.31k
    if (it == maData->end())
473
0
        it = std::find(maData->begin(), maData->end(), rListener);
474
475
8.31k
    if (it != maData->end())
476
8.31k
        maData->erase(it);
477
478
8.31k
    return std::as_const(maData)->size();
479
8.31k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModeChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XModeChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::document::XStorageChangeListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::chart::XChartDataChangeEventListener> const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::removeInterface(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::uno::Reference<com::sun::star::presentation::XSlideShowListener> const&)
480
481
template <class ListenerT>
482
void OInterfaceContainerHelper4<ListenerT>::disposeAndClear(std::unique_lock<std::mutex>& rGuard,
483
                                                            const css::lang::EventObject& rEvt)
484
1.84M
{
485
1.84M
    {
486
1.84M
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
1.84M
        maData
488
1.84M
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
1.84M
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
1.85M
        while (aIt.hasMoreElements())
492
14.8k
        {
493
14.8k
            try
494
14.8k
            {
495
14.8k
                aIt.next()->disposing(rEvt);
496
14.8k
            }
497
14.8k
            catch (css::uno::RuntimeException&)
498
14.8k
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
14.8k
        }
503
1.84M
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
1.84M
    rGuard.lock();
508
1.84M
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
781k
{
485
781k
    {
486
781k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
781k
        maData
488
781k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
781k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
796k
        while (aIt.hasMoreElements())
492
14.8k
        {
493
14.8k
            try
494
14.8k
            {
495
14.8k
                aIt.next()->disposing(rEvt);
496
14.8k
            }
497
14.8k
            catch (css::uno::RuntimeException&)
498
14.8k
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
14.8k
        }
503
781k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
781k
    rGuard.lock();
508
781k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XFocusListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XWindowListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XMouseMotionListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XPaintListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XVclContainerListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTopWindowListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
49.7k
{
485
49.7k
    {
486
49.7k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
49.7k
        maData
488
49.7k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
49.7k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
49.7k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
49.7k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
49.7k
    rGuard.lock();
508
49.7k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XActionListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XItemListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTabListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XAdjustmentListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XTextListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::container::XContainerListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
55
{
485
55
    {
486
55
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
55
        maData
488
55
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
55
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
55
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
55
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
55
    rGuard.lock();
508
55
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::view::XSelectionChangeListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tree::XTreeExpansionListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XRefreshListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
76.6k
{
485
76.6k
    {
486
76.6k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
76.6k
        maData
488
76.6k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
76.6k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
76.6k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
76.6k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
76.6k
    rGuard.lock();
508
76.6k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::binding::XListEntryListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::util::XModifyListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
582k
{
485
582k
    {
486
582k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
582k
        maData
488
582k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
582k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
582k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
582k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
582k
    rGuard.lock();
508
582k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::form::XUpdateListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
comphelper::OInterfaceContainerHelper4<com::sun::star::document::XUndoManagerListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Line
Count
Source
484
2.62k
{
485
2.62k
    {
486
2.62k
        OInterfaceIteratorHelper4<ListenerT> aIt(rGuard, *this);
487
2.62k
        maData
488
2.62k
            = DEFAULT(); // cheaper than calling maData->clear() because it doesn't allocate a new vector
489
2.62k
        rGuard.unlock();
490
        // unlock followed by iterating is only safe because we are not going to call remove() on the iterator
491
2.62k
        while (aIt.hasMoreElements())
492
0
        {
493
0
            try
494
0
            {
495
0
                aIt.next()->disposing(rEvt);
496
0
            }
497
0
            catch (css::uno::RuntimeException&)
498
0
            {
499
                // be robust, if e.g. a remote bridge has disposed already.
500
                // there is no way to delegate the error to the caller :o(.
501
0
            }
502
0
        }
503
2.62k
    }
504
    // tdf#152077 need to destruct the OInterfaceIteratorHelper4 before we take the lock again
505
    // because there is a vague chance that destructing it will trigger a call back into something
506
    // that wants to take the lock.
507
2.62k
    rGuard.lock();
508
2.62k
}
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ui::XUIConfigurationListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XEventListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XDocumentEventListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::XKeyHandler>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::grid::XGridSelectionListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XChangesListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::awt::tab::XTabPageContainerListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertySetInfoChangeListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertiesChangeListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::ucb::XContentEventListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::beans::XPropertyChangeListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::util::XCloseListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::document::XStorageChangeListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::frame::XStatusListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::chart::XChartDataChangeEventListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
Unexecuted instantiation: comphelper::OInterfaceContainerHelper4<com::sun::star::presentation::XSlideShowListener>::disposeAndClear(std::__1::unique_lock<std::__1::mutex>&, com::sun::star::lang::EventObject const&)
509
510
template <class ListenerT>
511
void OInterfaceContainerHelper4<ListenerT>::clear(::std::unique_lock<::std::mutex>& rGuard)
512
0
{
513
    assert(rGuard.owns_lock());
514
0
    (void)rGuard;
515
0
    maData->clear();
516
0
}
517
}
518
519
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */