/src/libreoffice/include/comphelper/interfacecontainer3.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 <vector> |
26 | | |
27 | | namespace com::sun::star::uno |
28 | | { |
29 | | class XInterface; |
30 | | } |
31 | | namespace com::sun::star::lang |
32 | | { |
33 | | struct EventObject; |
34 | | } |
35 | | |
36 | | namespace comphelper |
37 | | { |
38 | | template <class ListenerT> class OInterfaceContainerHelper3; |
39 | | /** |
40 | | This is the iterator of an OInterfaceContainerHelper3. Typically |
41 | | one constructs an instance on the stack for one firing session. |
42 | | It is not allowed to assign or copy an instance of this class. |
43 | | |
44 | | @tparam ListenerT UNO event listener type |
45 | | @see OInterfaceContainerHelper3 |
46 | | */ |
47 | | template <class ListenerT> class OInterfaceIteratorHelper3 |
48 | | { |
49 | | public: |
50 | | /** |
51 | | Create an iterator over the elements of the container. The iterator |
52 | | copies the elements of the container. A change to the container |
53 | | during the lifetime of an iterator is allowed and does not |
54 | | affect the iterator-instance. The iterator and the container take cares |
55 | | themself for concurrent access, no additional guarding is necessary. |
56 | | |
57 | | Remark: The copy is on demand. The iterator copy the elements only if the container |
58 | | change the contents... |
59 | | |
60 | | @param rCont the container of the elements. |
61 | | */ |
62 | | OInterfaceIteratorHelper3(OInterfaceContainerHelper3<ListenerT>& rCont_) |
63 | 2.45M | : rCont(rCont_) |
64 | 2.45M | , maData(rCont.maData) |
65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> |
66 | 2.45M | , nRemain(std::as_const(maData)->size()) |
67 | 2.45M | { |
68 | 2.45M | } comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener2>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>&) Line | Count | Source | 63 | 44.1k | : rCont(rCont_) | 64 | 44.1k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 44.1k | , nRemain(std::as_const(maData)->size()) | 67 | 44.1k | { | 68 | 44.1k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XDockableWindowListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>&) Line | Count | Source | 63 | 44.1k | : rCont(rCont_) | 64 | 44.1k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 44.1k | , nRemain(std::as_const(maData)->size()) | 67 | 44.1k | { | 68 | 44.1k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XStyleChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>&) comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModeChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>&) Line | Count | Source | 63 | 17 | : rCont(rCont_) | 64 | 17 | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 17 | , nRemain(std::as_const(maData)->size()) | 67 | 17 | { | 68 | 17 | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XChangesListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>&) comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XPrintJobListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>&) Line | Count | Source | 63 | 197k | : rCont(rCont_) | 64 | 197k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 197k | , nRemain(std::as_const(maData)->size()) | 67 | 197k | { | 68 | 197k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::lang::XEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>&) Line | Count | Source | 63 | 325k | : rCont(rCont_) | 64 | 325k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 325k | , nRemain(std::as_const(maData)->size()) | 67 | 325k | { | 68 | 325k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>&) Line | Count | Source | 63 | 289k | : rCont(rCont_) | 64 | 289k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 289k | , nRemain(std::as_const(maData)->size()) | 67 | 289k | { | 68 | 289k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>&) Line | Count | Source | 63 | 197k | : rCont(rCont_) | 64 | 197k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 197k | , nRemain(std::as_const(maData)->size()) | 67 | 197k | { | 68 | 197k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>&) Line | Count | Source | 63 | 197k | : rCont(rCont_) | 64 | 197k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 197k | , nRemain(std::as_const(maData)->size()) | 67 | 197k | { | 68 | 197k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>&) Line | Count | Source | 63 | 592k | : rCont(rCont_) | 64 | 592k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 592k | , nRemain(std::as_const(maData)->size()) | 67 | 592k | { | 68 | 592k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>&) Line | Count | Source | 63 | 197k | : rCont(rCont_) | 64 | 197k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 197k | , nRemain(std::as_const(maData)->size()) | 67 | 197k | { | 68 | 197k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyHandler>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseClickHandler>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::runtime::XFilterControllerListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XFormControllerListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>&) comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowSetApproveListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>&) Line | Count | Source | 63 | 19.5k | : rCont(rCont_) | 64 | 19.5k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 19.5k | , nRemain(std::as_const(maData)->size()) | 67 | 19.5k | { | 68 | 19.5k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XSQLErrorListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XDatabaseParameterListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XConfirmDeleteListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::frame::XStatusListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XUpdateListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>&) comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XSelectionChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>&) Line | Count | Source | 63 | 7.35k | : rCont(rCont_) | 64 | 7.35k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 7.35k | , nRemain(std::as_const(maData)->size()) | 67 | 7.35k | { | 68 | 7.35k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::container::XContainerListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>&) Line | Count | Source | 63 | 162k | : rCont(rCont_) | 64 | 162k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 162k | , nRemain(std::as_const(maData)->size()) | 67 | 162k | { | 68 | 162k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XGridControlListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XFocusListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseMotionListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XTextListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XItemListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XActionListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>&) comphelper::OInterfaceIteratorHelper3<com::sun::star::sdbc::XRowSetListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>&) Line | Count | Source | 63 | 9.78k | : rCont(rCont_) | 64 | 9.78k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 9.78k | , nRemain(std::as_const(maData)->size()) | 67 | 9.78k | { | 68 | 9.78k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowsChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>&) Line | Count | Source | 63 | 9.78k | : rCont(rCont_) | 64 | 9.78k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 9.78k | , nRemain(std::as_const(maData)->size()) | 67 | 9.78k | { | 68 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::ucb::XContentEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertiesChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XFlushListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>&) comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XRefreshListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>&) Line | Count | Source | 63 | 162k | : rCont(rCont_) | 64 | 162k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 162k | , nRemain(std::as_const(maData)->size()) | 67 | 162k | { | 68 | 162k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertyChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XVetoableChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>&) Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::text::XPasteListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>&) |
69 | | |
70 | | /** Return true, if there are more elements in the iterator. */ |
71 | 3.28M | bool hasMoreElements() const { return nRemain != 0; }comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener2>::hasMoreElements() const Line | Count | Source | 71 | 44.1k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XDockableWindowListener>::hasMoreElements() const Line | Count | Source | 71 | 44.1k | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XStyleChangeListener>::hasMoreElements() const comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModeChangeListener>::hasMoreElements() const Line | Count | Source | 71 | 17 | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XChangesListener>::hasMoreElements() const comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XPrintJobListener>::hasMoreElements() const Line | Count | Source | 71 | 197k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::lang::XEventListener>::hasMoreElements() const Line | Count | Source | 71 | 453k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::hasMoreElements() const Line | Count | Source | 71 | 385k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::hasMoreElements() const Line | Count | Source | 71 | 201k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::hasMoreElements() const Line | Count | Source | 71 | 197k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::hasMoreElements() const Line | Count | Source | 71 | 1.19M | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::hasMoreElements() const Line | Count | Source | 71 | 198k | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyHandler>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseClickHandler>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::runtime::XFilterControllerListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XFormControllerListener>::hasMoreElements() const comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowSetApproveListener>::hasMoreElements() const Line | Count | Source | 71 | 19.5k | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XSQLErrorListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XDatabaseParameterListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XConfirmDeleteListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::frame::XStatusListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XUpdateListener>::hasMoreElements() const comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XSelectionChangeListener>::hasMoreElements() const Line | Count | Source | 71 | 7.35k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::container::XContainerListener>::hasMoreElements() const Line | Count | Source | 71 | 162k | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XGridControlListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XFocusListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseMotionListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XTextListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XChangeListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XItemListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XActionListener>::hasMoreElements() const comphelper::OInterfaceIteratorHelper3<com::sun::star::sdbc::XRowSetListener>::hasMoreElements() const Line | Count | Source | 71 | 9.78k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowsChangeListener>::hasMoreElements() const Line | Count | Source | 71 | 9.78k | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::ucb::XContentEventListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertiesChangeListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XFlushListener>::hasMoreElements() const comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XRefreshListener>::hasMoreElements() const Line | Count | Source | 71 | 162k | bool hasMoreElements() const { return nRemain != 0; } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertyChangeListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XVetoableChangeListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::hasMoreElements() const Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::text::XPasteListener>::hasMoreElements() const |
72 | | /** Return the next element of the iterator. Calling this method if |
73 | | hasMoreElements() has returned false, is an error. |
74 | | */ |
75 | | css::uno::Reference<ListenerT> const& next(); |
76 | | |
77 | | /** Removes the current element (the last one returned by next()) |
78 | | from the underlying container. Calling this method before |
79 | | next() has been called or calling it twice with no next() |
80 | | in between is an error. |
81 | | */ |
82 | | void remove(); |
83 | | |
84 | | private: |
85 | | OInterfaceContainerHelper3<ListenerT>& rCont; |
86 | | o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, |
87 | | o3tl::ThreadSafeRefCountingPolicy> |
88 | | maData; |
89 | | sal_Int32 nRemain; |
90 | | |
91 | | OInterfaceIteratorHelper3(const OInterfaceIteratorHelper3&) = delete; |
92 | | OInterfaceIteratorHelper3& operator=(const OInterfaceIteratorHelper3&) = delete; |
93 | | }; |
94 | | |
95 | | template <class ListenerT> |
96 | | const css::uno::Reference<ListenerT>& OInterfaceIteratorHelper3<ListenerT>::next() |
97 | 828k | { |
98 | 828k | nRemain--; |
99 | 828k | return (*std::as_const(maData))[nRemain]; |
100 | 828k | } Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener2>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XDockableWindowListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XStyleChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModeChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XChangesListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XPrintJobListener>::next() comphelper::OInterfaceIteratorHelper3<com::sun::star::lang::XEventListener>::next() Line | Count | Source | 97 | 127k | { | 98 | 127k | nRemain--; | 99 | 127k | return (*std::as_const(maData))[nRemain]; | 100 | 127k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::next() Line | Count | Source | 97 | 95.8k | { | 98 | 95.8k | nRemain--; | 99 | 95.8k | return (*std::as_const(maData))[nRemain]; | 100 | 95.8k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::next() Line | Count | Source | 97 | 3.77k | { | 98 | 3.77k | nRemain--; | 99 | 3.77k | return (*std::as_const(maData))[nRemain]; | 100 | 3.77k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::next() comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::next() Line | Count | Source | 97 | 600k | { | 98 | 600k | nRemain--; | 99 | 600k | return (*std::as_const(maData))[nRemain]; | 100 | 600k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::next() Line | Count | Source | 97 | 693 | { | 98 | 693 | nRemain--; | 99 | 693 | return (*std::as_const(maData))[nRemain]; | 100 | 693 | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyHandler>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseClickHandler>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::runtime::XFilterControllerListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XFormControllerListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowSetApproveListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XSQLErrorListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XDatabaseParameterListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XConfirmDeleteListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::frame::XStatusListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XUpdateListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XSelectionChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::container::XContainerListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XGridControlListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XFocusListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseMotionListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XTextListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XItemListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XActionListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdbc::XRowSetListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowsChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::ucb::XContentEventListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertiesChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XFlushListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XRefreshListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertyChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XVetoableChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::next() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::text::XPasteListener>::next() |
101 | | |
102 | | template <class ListenerT> void OInterfaceIteratorHelper3<ListenerT>::remove() |
103 | 0 | { |
104 | 0 | rCont.removeInterface((*std::as_const(maData))[nRemain]); |
105 | 0 | } Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener2>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XDockableWindowListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XStyleChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModeChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XPrintJobListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyHandler>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseClickHandler>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::runtime::XFilterControllerListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XFormControllerListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::frame::XStatusListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XUpdateListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::view::XSelectionChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::container::XContainerListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XGridControlListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XFocusListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XMouseMotionListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XKeyListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XTextListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::form::XChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XItemListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XActionListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdbc::XRowSetListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowsChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowSetApproveListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertiesChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XFlushListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XRefreshListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XVetoableChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertyChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::ucb::XContentEventListener>::remove() Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::text::XPasteListener>::remove() |
106 | | |
107 | | /** |
108 | | A container of interfaces. To access the elements use an iterator. |
109 | | This implementation is thread-safe. |
110 | | |
111 | | This is a copy of the code at include/comphelper/interfacecontainer2.hxx, |
112 | | except that it is templatized on the type of the listener, which allows |
113 | | some parts of the code to avoid doing an UNO_QUERY that can be expensive |
114 | | in bulk. |
115 | | |
116 | | @tparam ListenerT UNO event listener type |
117 | | @see OInterfaceIteratorHelper |
118 | | */ |
119 | | template <class ListenerT> class OInterfaceContainerHelper3 |
120 | | { |
121 | | public: |
122 | | /** |
123 | | Create an interface container. |
124 | | |
125 | | @param rMutex the mutex to protect multi thread access. |
126 | | The lifetime must be longer than the lifetime |
127 | | of this object. |
128 | | */ |
129 | | inline OInterfaceContainerHelper3(::osl::Mutex& rMutex_); |
130 | | |
131 | | /** |
132 | | Return the number of Elements in the container. Only useful if you have acquired |
133 | | the mutex. |
134 | | */ |
135 | | sal_Int32 getLength() const; |
136 | | |
137 | | /** |
138 | | Return all interfaces added to this container. |
139 | | **/ |
140 | | std::vector<css::uno::Reference<ListenerT>> getElements() const; |
141 | | |
142 | | /** Inserts an element into the container. The position is not specified, thus it is not |
143 | | specified in which order events are fired. |
144 | | |
145 | | @attention |
146 | | If you add the same interface more than once, then it will be added to the elements list |
147 | | more than once and thus if you want to remove that interface from the list, you have to call |
148 | | removeInterface() the same number of times. |
149 | | In the latter case, you will also get events fired more than once (if the interface is a |
150 | | listener interface). |
151 | | |
152 | | @param rxIFace |
153 | | interface to be added; it is allowed to insert |
154 | | the same interface more than once |
155 | | @return |
156 | | the new count of elements in the container |
157 | | */ |
158 | | sal_Int32 addInterface(const css::uno::Reference<ListenerT>& rxIFace); |
159 | | /** Removes an element from the container. It uses interface equality to remove the interface. |
160 | | |
161 | | @param rxIFace |
162 | | interface to be removed |
163 | | @return |
164 | | the new count of elements in the container |
165 | | */ |
166 | | sal_Int32 removeInterface(const css::uno::Reference<ListenerT>& rxIFace); |
167 | | /** Return an interface by index |
168 | | */ |
169 | | const css::uno::Reference<ListenerT>& getInterface(sal_Int32 nIndex) const; |
170 | | /** |
171 | | Call disposing on all object in the container that |
172 | | support XEventListener. Then clear the container. |
173 | | */ |
174 | | void disposeAndClear(const css::lang::EventObject& rEvt); |
175 | | /** |
176 | | Clears the container without calling disposing(). |
177 | | */ |
178 | | void clear(); |
179 | | |
180 | | /** Executes a functor for each contained listener of specified type, e.g. |
181 | | <code>forEach<awt::XPaintListener>(...</code>. |
182 | | |
183 | | If a css::lang::DisposedException occurs which relates to |
184 | | the called listener, then that listener is removed from the container. |
185 | | |
186 | | @tparam FuncT unary functor type, let your compiler deduce this for you |
187 | | @param func unary functor object expecting an argument of type |
188 | | css::uno::Reference<ListenerT> |
189 | | */ |
190 | | template <typename FuncT> inline void forEach(FuncT const& func); |
191 | | |
192 | | /** Calls a UNO listener method for each contained listener. |
193 | | |
194 | | The listener method must take a single argument of type EventT, |
195 | | and return <code>void</code>. |
196 | | |
197 | | If a css::lang::DisposedException occurs which relates to |
198 | | the called listener, then that listener is removed from the container. |
199 | | |
200 | | @tparam EventT event type, let your compiler deduce this for you |
201 | | @param NotificationMethod |
202 | | Pointer to a method of a ListenerT interface. |
203 | | @param Event |
204 | | Event to notify to all contained listeners |
205 | | |
206 | | Example: |
207 | | @code |
208 | | awt::PaintEvent aEvent( static_cast< cppu::OWeakObject* >( this ), ... ); |
209 | | listeners.notifyEach( &XPaintListener::windowPaint, aEvent ); |
210 | | @endcode |
211 | | */ |
212 | | template <typename EventT> |
213 | | inline void notifyEach(void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&), |
214 | | const EventT& Event); |
215 | | |
216 | | private: |
217 | | friend class OInterfaceIteratorHelper3<ListenerT>; |
218 | | o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, |
219 | | o3tl::ThreadSafeRefCountingPolicy> |
220 | | maData; |
221 | | ::osl::Mutex& mrMutex; |
222 | | OInterfaceContainerHelper3(const OInterfaceContainerHelper3&) = delete; |
223 | | OInterfaceContainerHelper3& operator=(const OInterfaceContainerHelper3&) = delete; |
224 | | |
225 | | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, |
226 | | o3tl::ThreadSafeRefCountingPolicy>& |
227 | | DEFAULT() |
228 | 2.05M | { |
229 | 2.05M | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, |
230 | 2.05M | o3tl::ThreadSafeRefCountingPolicy> |
231 | 2.05M | SINGLETON; |
232 | 2.05M | return SINGLETON; |
233 | 2.05M | } comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::DEFAULT() Line | Count | Source | 228 | 65.6k | { | 229 | 65.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 65.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 65.6k | SINGLETON; | 232 | 65.6k | return SINGLETON; | 233 | 65.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::DEFAULT() Line | Count | Source | 228 | 65.6k | { | 229 | 65.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 65.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 65.6k | SINGLETON; | 232 | 65.6k | return SINGLETON; | 233 | 65.6k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::DEFAULT() Line | Count | Source | 228 | 17 | { | 229 | 17 | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 17 | o3tl::ThreadSafeRefCountingPolicy> | 231 | 17 | SINGLETON; | 232 | 17 | return SINGLETON; | 233 | 17 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::DEFAULT() Line | Count | Source | 228 | 63.5k | { | 229 | 63.5k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 63.5k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 63.5k | SINGLETON; | 232 | 63.5k | return SINGLETON; | 233 | 63.5k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::DEFAULT() Line | Count | Source | 228 | 197k | { | 229 | 197k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 197k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 197k | SINGLETON; | 232 | 197k | return SINGLETON; | 233 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::DEFAULT() Line | Count | Source | 228 | 325k | { | 229 | 325k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 325k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 325k | SINGLETON; | 232 | 325k | return SINGLETON; | 233 | 325k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::DEFAULT() Line | Count | Source | 228 | 208k | { | 229 | 208k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 208k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 208k | SINGLETON; | 232 | 208k | return SINGLETON; | 233 | 208k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::DEFAULT() Line | Count | Source | 228 | 197k | { | 229 | 197k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 197k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 197k | SINGLETON; | 232 | 197k | return SINGLETON; | 233 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::DEFAULT() Line | Count | Source | 228 | 197k | { | 229 | 197k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 197k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 197k | SINGLETON; | 232 | 197k | return SINGLETON; | 233 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::DEFAULT() Line | Count | Source | 228 | 197k | { | 229 | 197k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 197k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 197k | SINGLETON; | 232 | 197k | return SINGLETON; | 233 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::DEFAULT() Line | Count | Source | 228 | 197k | { | 229 | 197k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 197k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 197k | SINGLETON; | 232 | 197k | return SINGLETON; | 233 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::DEFAULT() Line | Count | Source | 228 | 3.67k | { | 229 | 3.67k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 3.67k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 3.67k | SINGLETON; | 232 | 3.67k | return SINGLETON; | 233 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::DEFAULT() Line | Count | Source | 228 | 3.67k | { | 229 | 3.67k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 3.67k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 3.67k | SINGLETON; | 232 | 3.67k | return SINGLETON; | 233 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::DEFAULT() Line | Count | Source | 228 | 3.67k | { | 229 | 3.67k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 3.67k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 3.67k | SINGLETON; | 232 | 3.67k | return SINGLETON; | 233 | 3.67k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>::DEFAULT() Line | Count | Source | 228 | 9.78k | { | 229 | 9.78k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 9.78k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 9.78k | SINGLETON; | 232 | 9.78k | return SINGLETON; | 233 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::DEFAULT() Line | Count | Source | 228 | 3.67k | { | 229 | 3.67k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 3.67k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 3.67k | SINGLETON; | 232 | 3.67k | return SINGLETON; | 233 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::DEFAULT() Line | Count | Source | 228 | 143k | { | 229 | 143k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 143k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 143k | SINGLETON; | 232 | 143k | return SINGLETON; | 233 | 143k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::DEFAULT() Line | Count | Source | 228 | 9.78k | { | 229 | 9.78k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 9.78k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 9.78k | SINGLETON; | 232 | 9.78k | return SINGLETON; | 233 | 9.78k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::DEFAULT() Line | Count | Source | 228 | 9.78k | { | 229 | 9.78k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 9.78k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 9.78k | SINGLETON; | 232 | 9.78k | return SINGLETON; | 233 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::DEFAULT() Line | Count | Source | 228 | 143k | { | 229 | 143k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 143k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 143k | SINGLETON; | 232 | 143k | return SINGLETON; | 233 | 143k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::DEFAULT() Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::DEFAULT() Line | Count | Source | 228 | 3.67k | { | 229 | 3.67k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 3.67k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 3.67k | SINGLETON; | 232 | 3.67k | return SINGLETON; | 233 | 3.67k | } |
|
234 | | |
235 | | private: |
236 | | template <typename EventT> class NotifySingleListener |
237 | | { |
238 | | private: |
239 | | typedef void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&); |
240 | | NotificationMethod const m_pMethod; |
241 | | const EventT& m_rEvent; |
242 | | |
243 | | public: |
244 | | NotifySingleListener(NotificationMethod method, const EventT& event) |
245 | 1.70M | : m_pMethod(method) |
246 | 1.70M | , m_rEvent(event) |
247 | 1.70M | { |
248 | 1.70M | } Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::awt::XWindowListener2::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::DockingEvent>::NotifySingleListener(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::awt::DockingEvent const&), com::sun::star::awt::DockingEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndDockingEvent>::NotifySingleListener(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::awt::EndDockingEvent const&), com::sun::star::awt::EndDockingEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndPopupModeEvent>::NotifySingleListener(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::awt::EndPopupModeEvent const&), com::sun::star::awt::EndPopupModeEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::awt::XStyleChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::NotifySingleListener<com::sun::star::view::PrintJobEvent>::NotifySingleListener(void (com::sun::star::view::XPrintJobListener::*)(com::sun::star::view::PrintJobEvent const&), com::sun::star::view::PrintJobEvent const&) comphelper::OInterfaceContainerHelper3<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 | 245 | 92.1k | : m_pMethod(method) | 246 | 92.1k | , m_rEvent(event) | 247 | 92.1k | { | 248 | 92.1k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::NotifySingleListener<com::sun::star::form::runtime::FilterEvent>::NotifySingleListener(void (com::sun::star::form::runtime::XFilterControllerListener::*)(com::sun::star::form::runtime::FilterEvent const&), com::sun::star::form::runtime::FilterEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::form::XFormControllerListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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&) comphelper::OInterfaceContainerHelper3<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&) Line | Count | Source | 245 | 11.7k | : m_pMethod(method) | 246 | 11.7k | , m_rEvent(event) | 247 | 11.7k | { | 248 | 11.7k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::NotifySingleListener<com::sun::star::awt::TextEvent>::NotifySingleListener(void (com::sun::star::awt::XTextListener::*)(com::sun::star::awt::TextEvent const&), com::sun::star::awt::TextEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::form::XChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::NotifySingleListener<com::sun::star::awt::ItemEvent>::NotifySingleListener(void (com::sun::star::awt::XItemListener::*)(com::sun::star::awt::ItemEvent const&), com::sun::star::awt::ItemEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::NotifySingleListener<com::sun::star::awt::ActionEvent>::NotifySingleListener(void (com::sun::star::awt::XActionListener::*)(com::sun::star::awt::ActionEvent const&), com::sun::star::awt::ActionEvent const&) comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::NotifySingleListener<com::sun::star::lang::EventObject>::NotifySingleListener(void (com::sun::star::sdbc::XRowSetListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Line | Count | Source | 245 | 1.60M | : m_pMethod(method) | 246 | 1.60M | , m_rEvent(event) | 247 | 1.60M | { | 248 | 1.60M | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::NotifySingleListener<com::sun::star::sdb::RowsChangeEvent>::NotifySingleListener(void (com::sun::star::sdb::XRowsChangeListener::*)(com::sun::star::sdb::RowsChangeEvent const&), com::sun::star::sdb::RowsChangeEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> >::NotifySingleListener(void (com::sun::star::beans::XPropertiesChangeListener::*)(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> const&), com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::NotifySingleListener<com::sun::star::sdb::DatabaseRegistrationEvent>::NotifySingleListener(void (com::sun::star::sdb::XDatabaseRegistrationsListener::*)(com::sun::star::sdb::DatabaseRegistrationEvent const&), com::sun::star::sdb::DatabaseRegistrationEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryListEvent>::NotifySingleListener(void (com::sun::star::linguistic2::XDictionaryListEventListener::*)(com::sun::star::linguistic2::DictionaryListEvent const&), com::sun::star::linguistic2::DictionaryListEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::NotifySingleListener<com::sun::star::linguistic2::LinguServiceEvent>::NotifySingleListener(void (com::sun::star::linguistic2::XLinguServiceEventListener::*)(com::sun::star::linguistic2::LinguServiceEvent const&), com::sun::star::linguistic2::LinguServiceEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryEvent>::NotifySingleListener(void (com::sun::star::linguistic2::XDictionaryEventListener::*)(com::sun::star::linguistic2::DictionaryEvent const&), com::sun::star::linguistic2::DictionaryEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::NotifySingleListener<com::sun::star::ucb::ContentEvent>::NotifySingleListener(void (com::sun::star::ucb::XContentEventListener::*)(com::sun::star::ucb::ContentEvent const&), com::sun::star::ucb::ContentEvent const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> >::NotifySingleListener(void (com::sun::star::text::XPasteListener::*)(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&), com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) |
249 | | |
250 | | void operator()(const css::uno::Reference<ListenerT>& listener) const |
251 | 92.1k | { |
252 | 92.1k | (listener.get()->*m_pMethod)(m_rEvent); |
253 | 92.1k | } Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener2> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::DockingEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndDockingEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndPopupModeEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XStyleChangeListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::NotifySingleListener<com::sun::star::view::PrintJobEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::view::XPrintJobListener> const&) const comphelper::OInterfaceContainerHelper3<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 | 251 | 92.1k | { | 252 | 92.1k | (listener.get()->*m_pMethod)(m_rEvent); | 253 | 92.1k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::NotifySingleListener<com::sun::star::form::runtime::FilterEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::form::runtime::XFilterControllerListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::form::XFormControllerListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::NotifySingleListener<com::sun::star::awt::TextEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XTextListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::form::XChangeListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::NotifySingleListener<com::sun::star::awt::ItemEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XItemListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::NotifySingleListener<com::sun::star::awt::ActionEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::awt::XActionListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::sdbc::XRowSetListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::NotifySingleListener<com::sun::star::sdb::RowsChangeEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::sdb::XRowsChangeListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> >::operator()(com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::NotifySingleListener<com::sun::star::sdb::DatabaseRegistrationEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::sdb::XDatabaseRegistrationsListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject>::operator()(com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryListEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryListEventListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::NotifySingleListener<com::sun::star::linguistic2::LinguServiceEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryEventListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<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::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::NotifySingleListener<com::sun::star::ucb::ContentEvent>::operator()(com::sun::star::uno::Reference<com::sun::star::ucb::XContentEventListener> const&) const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> >::operator()(com::sun::star::uno::Reference<com::sun::star::text::XPasteListener> const&) const |
254 | | }; |
255 | | }; |
256 | | |
257 | | template <class T> |
258 | | inline OInterfaceContainerHelper3<T>::OInterfaceContainerHelper3(::osl::Mutex& rMutex_) |
259 | 2.05M | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) |
260 | 2.05M | , mrMutex(rMutex_) |
261 | 2.05M | { |
262 | 2.05M | } comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 65.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 65.6k | , mrMutex(rMutex_) | 261 | 65.6k | { | 262 | 65.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 65.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 65.6k | , mrMutex(rMutex_) | 261 | 65.6k | { | 262 | 65.6k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 17 | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 17 | , mrMutex(rMutex_) | 261 | 17 | { | 262 | 17 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 63.5k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 63.5k | , mrMutex(rMutex_) | 261 | 63.5k | { | 262 | 63.5k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 197k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 197k | , mrMutex(rMutex_) | 261 | 197k | { | 262 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 325k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 325k | , mrMutex(rMutex_) | 261 | 325k | { | 262 | 325k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 208k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 208k | , mrMutex(rMutex_) | 261 | 208k | { | 262 | 208k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 197k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 197k | , mrMutex(rMutex_) | 261 | 197k | { | 262 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 197k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 197k | , mrMutex(rMutex_) | 261 | 197k | { | 262 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 197k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 197k | , mrMutex(rMutex_) | 261 | 197k | { | 262 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 197k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 197k | , mrMutex(rMutex_) | 261 | 197k | { | 262 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 3.67k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 3.67k | , mrMutex(rMutex_) | 261 | 3.67k | { | 262 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 3.67k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 3.67k | , mrMutex(rMutex_) | 261 | 3.67k | { | 262 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 3.67k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 3.67k | , mrMutex(rMutex_) | 261 | 3.67k | { | 262 | 3.67k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>::OInterfaceContainerHelper3(osl::Mutex&) comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 9.78k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 9.78k | , mrMutex(rMutex_) | 261 | 9.78k | { | 262 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::OInterfaceContainerHelper3(osl::Mutex&) comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 3.67k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 3.67k | , mrMutex(rMutex_) | 261 | 3.67k | { | 262 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 143k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 143k | , mrMutex(rMutex_) | 261 | 143k | { | 262 | 143k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::OInterfaceContainerHelper3(osl::Mutex&) comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 9.78k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 9.78k | , mrMutex(rMutex_) | 261 | 9.78k | { | 262 | 9.78k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 9.78k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 9.78k | , mrMutex(rMutex_) | 261 | 9.78k | { | 262 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::OInterfaceContainerHelper3(osl::Mutex&) comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 143k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 143k | , mrMutex(rMutex_) | 261 | 143k | { | 262 | 143k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 3.67k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 3.67k | , mrMutex(rMutex_) | 261 | 3.67k | { | 262 | 3.67k | } |
|
263 | | |
264 | | template <class T> |
265 | | template <typename FuncT> |
266 | | inline void OInterfaceContainerHelper3<T>::forEach(FuncT const& func) |
267 | 1.70M | { |
268 | 1.70M | osl::ClearableMutexGuard aGuard(mrMutex); |
269 | 1.70M | if (std::as_const(maData)->empty()) |
270 | 1.61M | return; |
271 | 92.1k | OInterfaceIteratorHelper3<T> iter(*this); |
272 | 92.1k | aGuard.clear(); |
273 | 184k | while (iter.hasMoreElements()) |
274 | 92.1k | { |
275 | 92.1k | auto xListener = iter.next(); |
276 | 92.1k | try |
277 | 92.1k | { |
278 | 92.1k | func(xListener); |
279 | 92.1k | } |
280 | 92.1k | catch (css::lang::DisposedException const& exc) |
281 | 92.1k | { |
282 | 0 | if (exc.Context == xListener) |
283 | 0 | iter.remove(); |
284 | 0 | } |
285 | 92.1k | } |
286 | 92.1k | } Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::DockingEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::DockingEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndDockingEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndDockingEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndPopupModeEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::NotifySingleListener<com::sun::star::awt::EndPopupModeEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::NotifySingleListener<com::sun::star::util::ModeChangeEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::NotifySingleListener<com::sun::star::util::ModeChangeEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::NotifySingleListener<com::sun::star::view::PrintJobEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::NotifySingleListener<com::sun::star::view::PrintJobEvent> const&) void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Line | Count | Source | 267 | 92.1k | { | 268 | 92.1k | osl::ClearableMutexGuard aGuard(mrMutex); | 269 | 92.1k | if (std::as_const(maData)->empty()) | 270 | 38 | return; | 271 | 92.1k | OInterfaceIteratorHelper3<T> iter(*this); | 272 | 92.1k | aGuard.clear(); | 273 | 184k | while (iter.hasMoreElements()) | 274 | 92.1k | { | 275 | 92.1k | auto xListener = iter.next(); | 276 | 92.1k | try | 277 | 92.1k | { | 278 | 92.1k | func(xListener); | 279 | 92.1k | } | 280 | 92.1k | catch (css::lang::DisposedException const& exc) | 281 | 92.1k | { | 282 | 0 | if (exc.Context == xListener) | 283 | 0 | iter.remove(); | 284 | 0 | } | 285 | 92.1k | } | 286 | 92.1k | } |
Unexecuted instantiation: sfxbasemodel.cxx:void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::forEach<(anonymous namespace)::NotifySingleListenerIgnoreRE<com::sun::star::document::XDocumentEventListener, com::sun::star::document::DocumentEvent> >((anonymous namespace)::NotifySingleListenerIgnoreRE<com::sun::star::document::XDocumentEventListener, com::sun::star::document::DocumentEvent> const&) Unexecuted instantiation: sfxbasemodel.cxx:void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::forEach<(anonymous namespace)::NotifySingleListenerIgnoreRE<com::sun::star::document::XEventListener, com::sun::star::document::EventObject> >((anonymous namespace)::NotifySingleListenerIgnoreRE<com::sun::star::document::XEventListener, com::sun::star::document::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::NotifySingleListener<com::sun::star::form::runtime::FilterEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::NotifySingleListener<com::sun::star::form::runtime::FilterEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) void comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Line | Count | Source | 267 | 11.7k | { | 268 | 11.7k | osl::ClearableMutexGuard aGuard(mrMutex); | 269 | 11.7k | if (std::as_const(maData)->empty()) | 270 | 11.7k | return; | 271 | 0 | OInterfaceIteratorHelper3<T> iter(*this); | 272 | 0 | aGuard.clear(); | 273 | 0 | while (iter.hasMoreElements()) | 274 | 0 | { | 275 | 0 | auto xListener = iter.next(); | 276 | 0 | try | 277 | 0 | { | 278 | 0 | func(xListener); | 279 | 0 | } | 280 | 0 | catch (css::lang::DisposedException const& exc) | 281 | 0 | { | 282 | 0 | if (exc.Context == xListener) | 283 | 0 | iter.remove(); | 284 | 0 | } | 285 | 0 | } | 286 | 0 | } |
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::NotifySingleListener<com::sun::star::container::ContainerEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::NotifySingleListener<com::sun::star::container::ContainerEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::NotifySingleListener<com::sun::star::awt::FocusEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::NotifySingleListener<com::sun::star::awt::FocusEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::NotifySingleListener<com::sun::star::awt::MouseEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::NotifySingleListener<com::sun::star::awt::KeyEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::NotifySingleListener<com::sun::star::awt::KeyEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::NotifySingleListener<com::sun::star::awt::TextEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::NotifySingleListener<com::sun::star::awt::TextEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::NotifySingleListener<com::sun::star::awt::ItemEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::NotifySingleListener<com::sun::star::awt::ItemEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::NotifySingleListener<com::sun::star::awt::ActionEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::NotifySingleListener<com::sun::star::awt::ActionEvent> const&) void comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Line | Count | Source | 267 | 1.60M | { | 268 | 1.60M | osl::ClearableMutexGuard aGuard(mrMutex); | 269 | 1.60M | if (std::as_const(maData)->empty()) | 270 | 1.60M | return; | 271 | 0 | OInterfaceIteratorHelper3<T> iter(*this); | 272 | 0 | aGuard.clear(); | 273 | 0 | while (iter.hasMoreElements()) | 274 | 0 | { | 275 | 0 | auto xListener = iter.next(); | 276 | 0 | try | 277 | 0 | { | 278 | 0 | func(xListener); | 279 | 0 | } | 280 | 0 | catch (css::lang::DisposedException const& exc) | 281 | 0 | { | 282 | 0 | if (exc.Context == xListener) | 283 | 0 | iter.remove(); | 284 | 0 | } | 285 | 0 | } | 286 | 0 | } |
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::NotifySingleListener<com::sun::star::sdb::RowsChangeEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::NotifySingleListener<com::sun::star::sdb::RowsChangeEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> > >(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> > const&) Unexecuted instantiation: databasedocument.cxx:void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::forEach<dbaccess::ODatabaseDocument::close(unsigned char)::$_0>(dbaccess::ODatabaseDocument::close(unsigned char)::$_0 const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: databasedocument.cxx:void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::forEach<dbaccess::ODatabaseDocument::impl_notifyStorageChange_nolck_nothrow(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&)::$_0>(dbaccess::ODatabaseDocument::impl_notifyStorageChange_nolck_nothrow(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&)::$_0 const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::NotifySingleListener<com::sun::star::sdb::DatabaseRegistrationEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::NotifySingleListener<com::sun::star::sdb::DatabaseRegistrationEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::NotifySingleListener<com::sun::star::document::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::NotifySingleListener<com::sun::star::document::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject> >(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::NotifySingleListener<com::sun::star::lang::EventObject> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryListEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryListEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::NotifySingleListener<com::sun::star::linguistic2::LinguServiceEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::NotifySingleListener<com::sun::star::linguistic2::LinguServiceEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::NotifySingleListener<com::sun::star::beans::PropertyChangeEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::NotifySingleListener<com::sun::star::beans::PropertyChangeEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::NotifySingleListener<com::sun::star::linguistic2::DictionaryEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::NotifySingleListener<com::sun::star::beans::PropertySetInfoChangeEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::NotifySingleListener<com::sun::star::beans::PropertySetInfoChangeEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::NotifySingleListener<com::sun::star::ucb::ContentEvent> >(comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::NotifySingleListener<com::sun::star::ucb::ContentEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> > >(comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::NotifySingleListener<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> > const&) Unexecuted instantiation: unotxvw.cxx:void comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::forEach<SwXTextView::NotifyDBChanged()::$_0>(SwXTextView::NotifyDBChanged()::$_0 const&) |
287 | | |
288 | | template <class ListenerT> |
289 | | template <typename EventT> |
290 | | inline void OInterfaceContainerHelper3<ListenerT>::notifyEach( |
291 | | void (SAL_CALL ListenerT::*NotificationMethod)(const EventT&), const EventT& Event) |
292 | 1.70M | { |
293 | 1.70M | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); |
294 | 1.70M | } Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::awt::XWindowListener2::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::notifyEach<com::sun::star::awt::DockingEvent>(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::awt::DockingEvent const&), com::sun::star::awt::DockingEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::notifyEach<com::sun::star::awt::EndDockingEvent>(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::awt::EndDockingEvent const&), com::sun::star::awt::EndDockingEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::notifyEach<com::sun::star::awt::EndPopupModeEvent>(void (com::sun::star::awt::XDockableWindowListener::*)(com::sun::star::awt::EndPopupModeEvent const&), com::sun::star::awt::EndPopupModeEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::awt::XStyleChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::notifyEach<com::sun::star::util::ModeChangeEvent>(void (com::sun::star::util::XModeChangeListener::*)(com::sun::star::util::ModeChangeEvent const&), com::sun::star::util::ModeChangeEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::notifyEach<com::sun::star::view::PrintJobEvent>(void (com::sun::star::view::XPrintJobListener::*)(com::sun::star::view::PrintJobEvent const&), com::sun::star::view::PrintJobEvent const&) void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::util::XModifyListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Line | Count | Source | 292 | 92.1k | { | 293 | 92.1k | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); | 294 | 92.1k | } |
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::notifyEach<com::sun::star::form::runtime::FilterEvent>(void (com::sun::star::form::runtime::XFilterControllerListener::*)(com::sun::star::form::runtime::FilterEvent const&), com::sun::star::form::runtime::FilterEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::form::XFormControllerListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::form::XUpdateListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) void comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::view::XSelectionChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Line | Count | Source | 292 | 11.7k | { | 293 | 11.7k | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); | 294 | 11.7k | } |
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::notifyEach<com::sun::star::container::ContainerEvent>(void (com::sun::star::container::XContainerListener::*)(com::sun::star::container::ContainerEvent const&), com::sun::star::container::ContainerEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::form::XGridControlListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::notifyEach<com::sun::star::awt::FocusEvent>(void (com::sun::star::awt::XFocusListener::*)(com::sun::star::awt::FocusEvent const&), com::sun::star::awt::FocusEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::notifyEach<com::sun::star::awt::MouseEvent>(void (com::sun::star::awt::XMouseListener::*)(com::sun::star::awt::MouseEvent const&), com::sun::star::awt::MouseEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::notifyEach<com::sun::star::awt::MouseEvent>(void (com::sun::star::awt::XMouseMotionListener::*)(com::sun::star::awt::MouseEvent const&), com::sun::star::awt::MouseEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::notifyEach<com::sun::star::awt::KeyEvent>(void (com::sun::star::awt::XKeyListener::*)(com::sun::star::awt::KeyEvent const&), com::sun::star::awt::KeyEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::notifyEach<com::sun::star::awt::TextEvent>(void (com::sun::star::awt::XTextListener::*)(com::sun::star::awt::TextEvent const&), com::sun::star::awt::TextEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::form::XChangeListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::notifyEach<com::sun::star::awt::ItemEvent>(void (com::sun::star::awt::XItemListener::*)(com::sun::star::awt::ItemEvent const&), com::sun::star::awt::ItemEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::notifyEach<com::sun::star::awt::ActionEvent>(void (com::sun::star::awt::XActionListener::*)(com::sun::star::awt::ActionEvent const&), com::sun::star::awt::ActionEvent const&) void comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::sdbc::XRowSetListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Line | Count | Source | 292 | 1.60M | { | 293 | 1.60M | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); | 294 | 1.60M | } |
Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::notifyEach<com::sun::star::sdb::RowsChangeEvent>(void (com::sun::star::sdb::XRowsChangeListener::*)(com::sun::star::sdb::RowsChangeEvent const&), com::sun::star::sdb::RowsChangeEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::notifyEach<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> >(void (com::sun::star::beans::XPropertiesChangeListener::*)(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> const&), com::sun::star::uno::Sequence<com::sun::star::beans::PropertyChangeEvent> const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::util::XCloseListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::notifyEach<com::sun::star::sdb::DatabaseRegistrationEvent>(void (com::sun::star::sdb::XDatabaseRegistrationsListener::*)(com::sun::star::sdb::DatabaseRegistrationEvent const&), com::sun::star::sdb::DatabaseRegistrationEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::util::XFlushListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::notifyEach<com::sun::star::document::EventObject>(void (com::sun::star::document::XEventListener::*)(com::sun::star::document::EventObject const&), com::sun::star::document::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::notifyEach<com::sun::star::document::DocumentEvent>(void (com::sun::star::document::XDocumentEventListener::*)(com::sun::star::document::DocumentEvent const&), com::sun::star::document::DocumentEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::notifyEach<com::sun::star::lang::EventObject>(void (com::sun::star::util::XRefreshListener::*)(com::sun::star::lang::EventObject const&), com::sun::star::lang::EventObject const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::notifyEach<com::sun::star::linguistic2::DictionaryListEvent>(void (com::sun::star::linguistic2::XDictionaryListEventListener::*)(com::sun::star::linguistic2::DictionaryListEvent const&), com::sun::star::linguistic2::DictionaryListEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::notifyEach<com::sun::star::linguistic2::LinguServiceEvent>(void (com::sun::star::linguistic2::XLinguServiceEventListener::*)(com::sun::star::linguistic2::LinguServiceEvent const&), com::sun::star::linguistic2::LinguServiceEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::notifyEach<com::sun::star::beans::PropertyChangeEvent>(void (com::sun::star::beans::XPropertyChangeListener::*)(com::sun::star::beans::PropertyChangeEvent const&), com::sun::star::beans::PropertyChangeEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::notifyEach<com::sun::star::linguistic2::DictionaryEvent>(void (com::sun::star::linguistic2::XDictionaryEventListener::*)(com::sun::star::linguistic2::DictionaryEvent const&), com::sun::star::linguistic2::DictionaryEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::notifyEach<com::sun::star::beans::PropertySetInfoChangeEvent>(void (com::sun::star::beans::XPropertySetInfoChangeListener::*)(com::sun::star::beans::PropertySetInfoChangeEvent const&), com::sun::star::beans::PropertySetInfoChangeEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::notifyEach<com::sun::star::ucb::ContentEvent>(void (com::sun::star::ucb::XContentEventListener::*)(com::sun::star::ucb::ContentEvent const&), com::sun::star::ucb::ContentEvent const&) Unexecuted instantiation: void comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::notifyEach<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> >(void (com::sun::star::text::XPasteListener::*)(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&), com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) |
295 | | |
296 | | template <class ListenerT> sal_Int32 OInterfaceContainerHelper3<ListenerT>::getLength() const |
297 | 12.9M | { |
298 | 12.9M | osl::MutexGuard aGuard(mrMutex); |
299 | 12.9M | return maData->size(); |
300 | 12.9M | } Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::getLength() const comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::getLength() const Line | Count | Source | 297 | 22.9k | { | 298 | 22.9k | osl::MutexGuard aGuard(mrMutex); | 299 | 22.9k | return maData->size(); | 300 | 22.9k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::getLength() const comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::getLength() const Line | Count | Source | 297 | 395k | { | 298 | 395k | osl::MutexGuard aGuard(mrMutex); | 299 | 395k | return maData->size(); | 300 | 395k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::getLength() const Line | Count | Source | 297 | 10.2M | { | 298 | 10.2M | osl::MutexGuard aGuard(mrMutex); | 299 | 10.2M | return maData->size(); | 300 | 10.2M | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::getLength() const comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::getLength() const Line | Count | Source | 297 | 2.30M | { | 298 | 2.30M | osl::MutexGuard aGuard(mrMutex); | 299 | 2.30M | return maData->size(); | 300 | 2.30M | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::getLength() const Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::getLength() const |
301 | | |
302 | | template <class ListenerT> |
303 | | std::vector<css::uno::Reference<ListenerT>> |
304 | | OInterfaceContainerHelper3<ListenerT>::getElements() const |
305 | 1.59M | { |
306 | 1.59M | std::vector<css::uno::Reference<ListenerT>> rVec; |
307 | 1.59M | osl::MutexGuard aGuard(mrMutex); |
308 | 1.59M | rVec = *maData; |
309 | 1.59M | return rVec; |
310 | 1.59M | } |
311 | | |
312 | | template <class ListenerT> |
313 | | sal_Int32 |
314 | | OInterfaceContainerHelper3<ListenerT>::addInterface(const css::uno::Reference<ListenerT>& rListener) |
315 | 441k | { |
316 | 441k | assert(rListener.is()); |
317 | 441k | osl::MutexGuard aGuard(mrMutex); |
318 | | |
319 | 441k | maData->push_back(rListener); |
320 | 441k | return std::as_const(maData)->size(); |
321 | 441k | } Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener2> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XStyleChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XModeChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XChangesListener> const&) comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::lang::XEventListener> const&) Line | Count | Source | 315 | 221k | { | 316 | 221k | assert(rListener.is()); | 317 | 221k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 221k | maData->push_back(rListener); | 320 | 221k | return std::as_const(maData)->size(); | 321 | 221k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&) Line | Count | Source | 315 | 14.1k | { | 316 | 14.1k | assert(rListener.is()); | 317 | 14.1k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 14.1k | maData->push_back(rListener); | 320 | 14.1k | return std::as_const(maData)->size(); | 321 | 14.1k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&) Line | Count | Source | 315 | 201k | { | 316 | 201k | assert(rListener.is()); | 317 | 201k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 201k | maData->push_back(rListener); | 320 | 201k | return std::as_const(maData)->size(); | 321 | 201k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&) Line | Count | Source | 315 | 693 | { | 316 | 693 | assert(rListener.is()); | 317 | 693 | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 693 | maData->push_back(rListener); | 320 | 693 | return std::as_const(maData)->size(); | 321 | 693 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&) Line | Count | Source | 315 | 3.77k | { | 316 | 3.77k | assert(rListener.is()); | 317 | 3.77k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 3.77k | maData->push_back(rListener); | 320 | 3.77k | return std::as_const(maData)->size(); | 321 | 3.77k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::document::XStorageChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::addInterface(com::sun::star::uno::Reference<com::sun::star::ui::XContextMenuInterceptor> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XKeyHandler> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseClickHandler> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::runtime::XFilterControllerListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::XFormControllerListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XRowSetApproveListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XSQLErrorListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::XDatabaseParameterListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::XConfirmDeleteListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::XUpdateListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::XGridControlListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XTextListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::form::XChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XItemListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::awt::XActionListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::sdbc::XRowSetListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XRowsChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::ucb::XContentEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XDatabaseRegistrationsListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XFlushListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::beans::XPropertyChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::beans::XVetoableChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryListEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfoChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::text::XPasteListener> const&) |
322 | | |
323 | | template <class ListenerT> |
324 | | sal_Int32 OInterfaceContainerHelper3<ListenerT>::removeInterface( |
325 | | const css::uno::Reference<ListenerT>& rListener) |
326 | 101k | { |
327 | 101k | assert(rListener.is()); |
328 | 101k | osl::MutexGuard aGuard(mrMutex); |
329 | | |
330 | | // It is not valid to compare the pointer directly, but it's faster. |
331 | 101k | auto it = std::find_if(maData->begin(), maData->end(), |
332 | 101k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { |
333 | 100k | return rItem.get() == rListener.get(); |
334 | 100k | }); Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener2> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XStyleChangeListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::removeInterface(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&) constcomphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::removeInterface(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&) constLine | Count | Source | 332 | 93.4k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 93.4k | return rItem.get() == rListener.get(); | 334 | 93.4k | }); |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::removeInterface(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&) constcomphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::removeInterface(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&) constLine | Count | Source | 332 | 7.35k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 7.35k | return rItem.get() == rListener.get(); | 334 | 7.35k | }); |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseClickHandler> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::runtime::XFilterControllerListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XFormControllerListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XRowSetApproveListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XSQLErrorListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XDatabaseParameterListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XConfirmDeleteListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XChangeListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdbc::XRowSetListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XRowsChangeListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XDatabaseRegistrationsListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryListEventListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryEventListener> 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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::removeInterface(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&) constUnexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::text::XPasteListener> 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 |
335 | | |
336 | | // interface not found, use the correct compare method |
337 | 101k | if (it == maData->end()) |
338 | 4.46k | it = std::find(maData->begin(), maData->end(), rListener); |
339 | | |
340 | 101k | if (it != maData->end()) |
341 | 97.1k | maData->erase(it); |
342 | | |
343 | 101k | return std::as_const(maData)->size(); |
344 | 101k | } Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener2> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XDockableWindowListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XStyleChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XModeChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XChangesListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::view::XPrintJobListener> const&) comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::lang::XEventListener> const&) Line | Count | Source | 326 | 93.4k | { | 327 | 93.4k | assert(rListener.is()); | 328 | 93.4k | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 93.4k | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 93.4k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 93.4k | return rItem.get() == rListener.get(); | 334 | 93.4k | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 93.4k | if (it == maData->end()) | 338 | 0 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 93.4k | if (it != maData->end()) | 341 | 93.4k | maData->erase(it); | 342 | | | 343 | 93.4k | return std::as_const(maData)->size(); | 344 | 93.4k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&) Line | Count | Source | 326 | 3.67k | { | 327 | 3.67k | assert(rListener.is()); | 328 | 3.67k | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 3.67k | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 3.67k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 3.67k | return rItem.get() == rListener.get(); | 334 | 3.67k | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 3.67k | if (it == maData->end()) | 338 | 3.67k | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 3.67k | if (it != maData->end()) | 341 | 0 | maData->erase(it); | 342 | | | 343 | 3.67k | return std::as_const(maData)->size(); | 344 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&) Line | Count | Source | 326 | 693 | { | 327 | 693 | assert(rListener.is()); | 328 | 693 | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 693 | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 693 | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 693 | return rItem.get() == rListener.get(); | 334 | 693 | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 693 | if (it == maData->end()) | 338 | 693 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 693 | if (it != maData->end()) | 341 | 0 | maData->erase(it); | 342 | | | 343 | 693 | return std::as_const(maData)->size(); | 344 | 693 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&) Line | Count | Source | 326 | 3.67k | { | 327 | 3.67k | assert(rListener.is()); | 328 | 3.67k | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 3.67k | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 3.67k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 3.67k | return rItem.get() == rListener.get(); | 334 | 3.67k | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 3.67k | if (it == maData->end()) | 338 | 0 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 3.67k | if (it != maData->end()) | 341 | 3.67k | maData->erase(it); | 342 | | | 343 | 3.67k | return std::as_const(maData)->size(); | 344 | 3.67k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&) Line | Count | Source | 326 | 97 | { | 327 | 97 | assert(rListener.is()); | 328 | 97 | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 97 | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 97 | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 97 | return rItem.get() == rListener.get(); | 334 | 97 | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 97 | if (it == maData->end()) | 338 | 97 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 97 | if (it != maData->end()) | 341 | 0 | maData->erase(it); | 342 | | | 343 | 97 | return std::as_const(maData)->size(); | 344 | 97 | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::document::XStorageChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::removeInterface(com::sun::star::uno::Reference<com::sun::star::ui::XContextMenuInterceptor> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XKeyHandler> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseClickHandler> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::runtime::XFilterControllerListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XFormControllerListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XRowSetApproveListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XSQLErrorListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XDatabaseParameterListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XConfirmDeleteListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XUpdateListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XGridControlListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XGridControlListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XTextListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::form::XChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XItemListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::awt::XActionListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdbc::XRowSetListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XRowsChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::ucb::XContentEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertiesChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XDatabaseRegistrationsListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::sdb::XDatabaseRegistrationsListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XFlushListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XRefreshListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::beans::XVetoableChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::beans::XPropertyChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryListEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XLinguServiceEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::linguistic2::XDictionaryEventListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfoChangeListener> const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::text::XPasteListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::text::XPasteListener> const&) |
345 | | |
346 | | template <class ListenerT> |
347 | | const css::uno::Reference<ListenerT>& |
348 | | OInterfaceContainerHelper3<ListenerT>::getInterface(sal_Int32 nIndex) const |
349 | | { |
350 | | osl::MutexGuard aGuard(mrMutex); |
351 | | |
352 | | return (*maData)[nIndex]; |
353 | | } |
354 | | |
355 | | template <class ListenerT> |
356 | | void OInterfaceContainerHelper3<ListenerT>::disposeAndClear(const css::lang::EventObject& rEvt) |
357 | 1.96M | { |
358 | 1.96M | osl::ClearableMutexGuard aGuard(mrMutex); |
359 | 1.96M | OInterfaceIteratorHelper3<ListenerT> aIt(*this); |
360 | 1.96M | maData->clear(); |
361 | 1.96M | aGuard.clear(); |
362 | 2.29M | while (aIt.hasMoreElements()) |
363 | 333k | { |
364 | 333k | try |
365 | 333k | { |
366 | 333k | aIt.next()->disposing(rEvt); |
367 | 333k | } |
368 | 333k | catch (css::uno::RuntimeException&) |
369 | 333k | { |
370 | | // be robust, if e.g. a remote bridge has disposed already. |
371 | | // there is no way to delegate the error to the caller :o(. |
372 | 0 | } |
373 | 333k | } |
374 | 1.96M | } comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 44.1k | { | 358 | 44.1k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 44.1k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 44.1k | maData->clear(); | 361 | 44.1k | aGuard.clear(); | 362 | 44.1k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 44.1k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 44.1k | { | 358 | 44.1k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 44.1k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 44.1k | maData->clear(); | 361 | 44.1k | aGuard.clear(); | 362 | 44.1k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 44.1k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 17 | { | 358 | 17 | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 17 | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 17 | maData->clear(); | 361 | 17 | aGuard.clear(); | 362 | 17 | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 17 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 197k | { | 358 | 197k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 197k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 197k | maData->clear(); | 361 | 197k | aGuard.clear(); | 362 | 197k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 325k | { | 358 | 325k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 325k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 325k | maData->clear(); | 361 | 325k | aGuard.clear(); | 362 | 453k | while (aIt.hasMoreElements()) | 363 | 127k | { | 364 | 127k | try | 365 | 127k | { | 366 | 127k | aIt.next()->disposing(rEvt); | 367 | 127k | } | 368 | 127k | catch (css::uno::RuntimeException&) | 369 | 127k | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 127k | } | 374 | 325k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 197k | { | 358 | 197k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 197k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 197k | maData->clear(); | 361 | 197k | aGuard.clear(); | 362 | 201k | while (aIt.hasMoreElements()) | 363 | 3.67k | { | 364 | 3.67k | try | 365 | 3.67k | { | 366 | 3.67k | aIt.next()->disposing(rEvt); | 367 | 3.67k | } | 368 | 3.67k | catch (css::uno::RuntimeException&) | 369 | 3.67k | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 3.67k | } | 374 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 197k | { | 358 | 197k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 197k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 197k | maData->clear(); | 361 | 197k | aGuard.clear(); | 362 | 198k | while (aIt.hasMoreElements()) | 363 | 693 | { | 364 | 693 | try | 365 | 693 | { | 366 | 693 | aIt.next()->disposing(rEvt); | 367 | 693 | } | 368 | 693 | catch (css::uno::RuntimeException&) | 369 | 693 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 693 | } | 374 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 197k | { | 358 | 197k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 197k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 197k | maData->clear(); | 361 | 197k | aGuard.clear(); | 362 | 201k | while (aIt.hasMoreElements()) | 363 | 3.77k | { | 364 | 3.77k | try | 365 | 3.77k | { | 366 | 3.77k | aIt.next()->disposing(rEvt); | 367 | 3.77k | } | 368 | 3.77k | catch (css::uno::RuntimeException&) | 369 | 3.77k | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 3.77k | } | 374 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 197k | { | 358 | 197k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 197k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 197k | maData->clear(); | 361 | 197k | aGuard.clear(); | 362 | 197k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 197k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 197k | { | 358 | 197k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 197k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 197k | maData->clear(); | 361 | 197k | aGuard.clear(); | 362 | 395k | while (aIt.hasMoreElements()) | 363 | 197k | { | 364 | 197k | try | 365 | 197k | { | 366 | 197k | aIt.next()->disposing(rEvt); | 367 | 197k | } | 368 | 197k | catch (css::uno::RuntimeException&) | 369 | 197k | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 197k | } | 374 | 197k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XFormControllerListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XSQLErrorListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XConfirmDeleteListener>::disposeAndClear(com::sun::star::lang::EventObject const&) comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowSetApproveListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 9.78k | { | 358 | 9.78k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 9.78k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 9.78k | maData->clear(); | 361 | 9.78k | aGuard.clear(); | 362 | 9.78k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XDatabaseParameterListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::runtime::XFilterControllerListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XUpdateListener>::disposeAndClear(com::sun::star::lang::EventObject const&) comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 162k | { | 358 | 162k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 162k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 162k | maData->clear(); | 361 | 162k | aGuard.clear(); | 362 | 162k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 162k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XFocusListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseMotionListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XTextListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::form::XChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XItemListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XActionListener>::disposeAndClear(com::sun::star::lang::EventObject const&) comphelper::OInterfaceContainerHelper3<com::sun::star::sdbc::XRowSetListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 9.78k | { | 358 | 9.78k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 9.78k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 9.78k | maData->clear(); | 361 | 9.78k | aGuard.clear(); | 362 | 9.78k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 9.78k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 9.78k | { | 358 | 9.78k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 9.78k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 9.78k | maData->clear(); | 361 | 9.78k | aGuard.clear(); | 362 | 9.78k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 9.78k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::ucb::XContentEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::util::XFlushListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::frame::XStatusListener>::disposeAndClear(com::sun::star::lang::EventObject const&) comphelper::OInterfaceContainerHelper3<com::sun::star::util::XRefreshListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 162k | { | 358 | 162k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 162k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 162k | maData->clear(); | 361 | 162k | aGuard.clear(); | 362 | 162k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 162k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertyChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XVetoableChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::linguistic2::XDictionaryListEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::beans::XPropertySetInfoChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) comphelper::OInterfaceContainerHelper3<com::sun::star::view::XSelectionChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 7.35k | { | 358 | 7.35k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 7.35k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 7.35k | maData->clear(); | 361 | 7.35k | aGuard.clear(); | 362 | 7.35k | while (aIt.hasMoreElements()) | 363 | 0 | { | 364 | 0 | try | 365 | 0 | { | 366 | 0 | aIt.next()->disposing(rEvt); | 367 | 0 | } | 368 | 0 | catch (css::uno::RuntimeException&) | 369 | 0 | { | 370 | | // be robust, if e.g. a remote bridge has disposed already. | 371 | | // there is no way to delegate the error to the caller :o(. | 372 | 0 | } | 373 | 0 | } | 374 | 7.35k | } |
|
375 | | |
376 | | template <class ListenerT> void OInterfaceContainerHelper3<ListenerT>::clear() |
377 | | { |
378 | | osl::MutexGuard aGuard(mrMutex); |
379 | | maData->clear(); |
380 | | } |
381 | | } |
382 | | |
383 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |