/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.55M | : rCont(rCont_) |
64 | 2.55M | , maData(rCont.maData) |
65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> |
66 | 2.55M | , nRemain(std::as_const(maData)->size()) |
67 | 2.55M | { |
68 | 2.55M | } comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener2>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>&) Line | Count | Source | 63 | 49.0k | : rCont(rCont_) | 64 | 49.0k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 49.0k | , nRemain(std::as_const(maData)->size()) | 67 | 49.0k | { | 68 | 49.0k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XDockableWindowListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>&) Line | Count | Source | 63 | 49.0k | : rCont(rCont_) | 64 | 49.0k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 49.0k | , nRemain(std::as_const(maData)->size()) | 67 | 49.0k | { | 68 | 49.0k | } |
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 | 62 | : rCont(rCont_) | 64 | 62 | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 62 | , nRemain(std::as_const(maData)->size()) | 67 | 62 | { | 68 | 62 | } |
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 | 207k | : rCont(rCont_) | 64 | 207k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 207k | , nRemain(std::as_const(maData)->size()) | 67 | 207k | { | 68 | 207k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::lang::XEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>&) Line | Count | Source | 63 | 326k | : rCont(rCont_) | 64 | 326k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 326k | , nRemain(std::as_const(maData)->size()) | 67 | 326k | { | 68 | 326k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>&) Line | Count | Source | 63 | 273k | : rCont(rCont_) | 64 | 273k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 273k | , nRemain(std::as_const(maData)->size()) | 67 | 273k | { | 68 | 273k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>&) Line | Count | Source | 63 | 207k | : rCont(rCont_) | 64 | 207k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 207k | , nRemain(std::as_const(maData)->size()) | 67 | 207k | { | 68 | 207k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>&) Line | Count | Source | 63 | 207k | : rCont(rCont_) | 64 | 207k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 207k | , nRemain(std::as_const(maData)->size()) | 67 | 207k | { | 68 | 207k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>&) Line | Count | Source | 63 | 623k | : rCont(rCont_) | 64 | 623k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 623k | , nRemain(std::as_const(maData)->size()) | 67 | 623k | { | 68 | 623k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>&) Line | Count | Source | 63 | 207k | : rCont(rCont_) | 64 | 207k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 207k | , nRemain(std::as_const(maData)->size()) | 67 | 207k | { | 68 | 207k | } |
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 | 21.3k | : rCont(rCont_) | 64 | 21.3k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 21.3k | , nRemain(std::as_const(maData)->size()) | 67 | 21.3k | { | 68 | 21.3k | } |
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 | 8.16k | : rCont(rCont_) | 64 | 8.16k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 8.16k | , nRemain(std::as_const(maData)->size()) | 67 | 8.16k | { | 68 | 8.16k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::container::XContainerListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>&) Line | Count | Source | 63 | 178k | : rCont(rCont_) | 64 | 178k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 178k | , nRemain(std::as_const(maData)->size()) | 67 | 178k | { | 68 | 178k | } |
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 | 10.6k | : rCont(rCont_) | 64 | 10.6k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 10.6k | , nRemain(std::as_const(maData)->size()) | 67 | 10.6k | { | 68 | 10.6k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowsChangeListener>::OInterfaceIteratorHelper3(comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>&) Line | Count | Source | 63 | 10.6k | : rCont(rCont_) | 64 | 10.6k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 10.6k | , nRemain(std::as_const(maData)->size()) | 67 | 10.6k | { | 68 | 10.6k | } |
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 | 177k | : rCont(rCont_) | 64 | 177k | , maData(rCont.maData) | 65 | | // const_cast so we don't trigger make_unique via o3tl::cow_wrapper::operator-> | 66 | 177k | , nRemain(std::as_const(maData)->size()) | 67 | 177k | { | 68 | 177k | } |
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.38M | bool hasMoreElements() const { return nRemain != 0; }comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XWindowListener2>::hasMoreElements() const Line | Count | Source | 71 | 49.0k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::awt::XDockableWindowListener>::hasMoreElements() const Line | Count | Source | 71 | 49.0k | 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 | 62 | 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 | 207k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::lang::XEventListener>::hasMoreElements() const Line | Count | Source | 71 | 446k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::hasMoreElements() const Line | Count | Source | 71 | 342k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::hasMoreElements() const Line | Count | Source | 71 | 211k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::hasMoreElements() const Line | Count | Source | 71 | 207k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::hasMoreElements() const Line | Count | Source | 71 | 1.25M | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::hasMoreElements() const Line | Count | Source | 71 | 208k | 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 | 21.3k | 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 | 8.16k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::container::XContainerListener>::hasMoreElements() const Line | Count | Source | 71 | 178k | 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 | 10.6k | bool hasMoreElements() const { return nRemain != 0; } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::sdb::XRowsChangeListener>::hasMoreElements() const Line | Count | Source | 71 | 10.6k | 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 | 177k | 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 | 824k | { |
98 | 824k | nRemain--; |
99 | 824k | return (*std::as_const(maData))[nRemain]; |
100 | 824k | } 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 | 119k | { | 98 | 119k | nRemain--; | 99 | 119k | return (*std::as_const(maData))[nRemain]; | 100 | 119k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XModifyListener>::next() Line | Count | Source | 97 | 69.4k | { | 98 | 69.4k | nRemain--; | 99 | 69.4k | return (*std::as_const(maData))[nRemain]; | 100 | 69.4k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XDocumentEventListener>::next() Line | Count | Source | 97 | 4.18k | { | 98 | 4.18k | nRemain--; | 99 | 4.18k | return (*std::as_const(maData))[nRemain]; | 100 | 4.18k | } |
Unexecuted instantiation: comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XStorageChangeListener>::next() comphelper::OInterfaceIteratorHelper3<com::sun::star::util::XCloseListener>::next() Line | Count | Source | 97 | 631k | { | 98 | 631k | nRemain--; | 99 | 631k | return (*std::as_const(maData))[nRemain]; | 100 | 631k | } |
comphelper::OInterfaceIteratorHelper3<com::sun::star::document::XEventListener>::next() Line | Count | Source | 97 | 615 | { | 98 | 615 | nRemain--; | 99 | 615 | return (*std::as_const(maData))[nRemain]; | 100 | 615 | } |
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.16M | { |
229 | 2.16M | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, |
230 | 2.16M | o3tl::ThreadSafeRefCountingPolicy> |
231 | 2.16M | SINGLETON; |
232 | 2.16M | return SINGLETON; |
233 | 2.16M | } comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::DEFAULT() Line | Count | Source | 228 | 73.6k | { | 229 | 73.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 73.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 73.6k | SINGLETON; | 232 | 73.6k | return SINGLETON; | 233 | 73.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::DEFAULT() Line | Count | Source | 228 | 73.6k | { | 229 | 73.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 73.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 73.6k | SINGLETON; | 232 | 73.6k | return SINGLETON; | 233 | 73.6k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XStyleChangeListener>::DEFAULT() comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModeChangeListener>::DEFAULT() Line | Count | Source | 228 | 62 | { | 229 | 62 | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 62 | o3tl::ThreadSafeRefCountingPolicy> | 231 | 62 | SINGLETON; | 232 | 62 | return SINGLETON; | 233 | 62 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::DEFAULT() Line | Count | Source | 228 | 69.1k | { | 229 | 69.1k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 69.1k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 69.1k | SINGLETON; | 232 | 69.1k | return SINGLETON; | 233 | 69.1k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::DEFAULT() Line | Count | Source | 228 | 207k | { | 229 | 207k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 207k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 207k | SINGLETON; | 232 | 207k | return SINGLETON; | 233 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::DEFAULT() Line | Count | Source | 228 | 326k | { | 229 | 326k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 326k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 326k | SINGLETON; | 232 | 326k | return SINGLETON; | 233 | 326k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::DEFAULT() Line | Count | Source | 228 | 217k | { | 229 | 217k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 217k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 217k | SINGLETON; | 232 | 217k | return SINGLETON; | 233 | 217k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::DEFAULT() Line | Count | Source | 228 | 207k | { | 229 | 207k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 207k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 207k | SINGLETON; | 232 | 207k | return SINGLETON; | 233 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::DEFAULT() Line | Count | Source | 228 | 207k | { | 229 | 207k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 207k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 207k | SINGLETON; | 232 | 207k | return SINGLETON; | 233 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::DEFAULT() Line | Count | Source | 228 | 207k | { | 229 | 207k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 207k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 207k | SINGLETON; | 232 | 207k | return SINGLETON; | 233 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::DEFAULT() Line | Count | Source | 228 | 207k | { | 229 | 207k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 207k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 207k | SINGLETON; | 232 | 207k | return SINGLETON; | 233 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::DEFAULT() Line | Count | Source | 228 | 4.08k | { | 229 | 4.08k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 4.08k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 4.08k | SINGLETON; | 232 | 4.08k | return SINGLETON; | 233 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::DEFAULT() Line | Count | Source | 228 | 4.08k | { | 229 | 4.08k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 4.08k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 4.08k | SINGLETON; | 232 | 4.08k | return SINGLETON; | 233 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::DEFAULT() Line | Count | Source | 228 | 4.08k | { | 229 | 4.08k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 4.08k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 4.08k | SINGLETON; | 232 | 4.08k | return SINGLETON; | 233 | 4.08k | } |
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 | 10.6k | { | 229 | 10.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 10.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 10.6k | SINGLETON; | 232 | 10.6k | return SINGLETON; | 233 | 10.6k | } |
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 | 4.08k | { | 229 | 4.08k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 4.08k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 4.08k | SINGLETON; | 232 | 4.08k | return SINGLETON; | 233 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::DEFAULT() Line | Count | Source | 228 | 157k | { | 229 | 157k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 157k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 157k | SINGLETON; | 232 | 157k | return SINGLETON; | 233 | 157k | } |
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 | 10.6k | { | 229 | 10.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 10.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 10.6k | SINGLETON; | 232 | 10.6k | return SINGLETON; | 233 | 10.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::DEFAULT() Line | Count | Source | 228 | 10.6k | { | 229 | 10.6k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 10.6k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 10.6k | SINGLETON; | 232 | 10.6k | return SINGLETON; | 233 | 10.6k | } |
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 | 157k | { | 229 | 157k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 157k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 157k | SINGLETON; | 232 | 157k | return SINGLETON; | 233 | 157k | } |
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 | 4.08k | { | 229 | 4.08k | static o3tl::cow_wrapper<std::vector<css::uno::Reference<ListenerT>>, | 230 | 4.08k | o3tl::ThreadSafeRefCountingPolicy> | 231 | 4.08k | SINGLETON; | 232 | 4.08k | return SINGLETON; | 233 | 4.08k | } |
|
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 | 2.01M | : m_pMethod(method) |
246 | 2.01M | , m_rEvent(event) |
247 | 2.01M | { |
248 | 2.01M | } 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 | 65.4k | : m_pMethod(method) | 246 | 65.4k | , m_rEvent(event) | 247 | 65.4k | { | 248 | 65.4k | } |
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 | 14.9k | : m_pMethod(method) | 246 | 14.9k | , m_rEvent(event) | 247 | 14.9k | { | 248 | 14.9k | } |
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.93M | : m_pMethod(method) | 246 | 1.93M | , m_rEvent(event) | 247 | 1.93M | { | 248 | 1.93M | } |
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 | 65.3k | { |
252 | 65.3k | (listener.get()->*m_pMethod)(m_rEvent); |
253 | 65.3k | } 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 | 65.3k | { | 252 | 65.3k | (listener.get()->*m_pMethod)(m_rEvent); | 253 | 65.3k | } |
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.16M | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) |
260 | 2.16M | , mrMutex(rMutex_) |
261 | 2.16M | { |
262 | 2.16M | } comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 73.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 73.6k | , mrMutex(rMutex_) | 261 | 73.6k | { | 262 | 73.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 73.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 73.6k | , mrMutex(rMutex_) | 261 | 73.6k | { | 262 | 73.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 | 62 | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 62 | , mrMutex(rMutex_) | 261 | 62 | { | 262 | 62 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 69.1k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 69.1k | , mrMutex(rMutex_) | 261 | 69.1k | { | 262 | 69.1k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 207k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 207k | , mrMutex(rMutex_) | 261 | 207k | { | 262 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 326k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 326k | , mrMutex(rMutex_) | 261 | 326k | { | 262 | 326k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 217k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 217k | , mrMutex(rMutex_) | 261 | 217k | { | 262 | 217k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 207k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 207k | , mrMutex(rMutex_) | 261 | 207k | { | 262 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 207k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 207k | , mrMutex(rMutex_) | 261 | 207k | { | 262 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 207k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 207k | , mrMutex(rMutex_) | 261 | 207k | { | 262 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 207k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 207k | , mrMutex(rMutex_) | 261 | 207k | { | 262 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::ui::XContextMenuInterceptor>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 4.08k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 4.08k | , mrMutex(rMutex_) | 261 | 4.08k | { | 262 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XKeyHandler>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 4.08k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 4.08k | , mrMutex(rMutex_) | 261 | 4.08k | { | 262 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XMouseClickHandler>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 4.08k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 4.08k | , mrMutex(rMutex_) | 261 | 4.08k | { | 262 | 4.08k | } |
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 | 10.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 10.6k | , mrMutex(rMutex_) | 261 | 10.6k | { | 262 | 10.6k | } |
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 | 4.08k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 4.08k | , mrMutex(rMutex_) | 261 | 4.08k | { | 262 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::container::XContainerListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 157k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 157k | , mrMutex(rMutex_) | 261 | 157k | { | 262 | 157k | } |
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 | 10.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 10.6k | , mrMutex(rMutex_) | 261 | 10.6k | { | 262 | 10.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::OInterfaceContainerHelper3(osl::Mutex&) Line | Count | Source | 259 | 10.6k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 10.6k | , mrMutex(rMutex_) | 261 | 10.6k | { | 262 | 10.6k | } |
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 | 157k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 157k | , mrMutex(rMutex_) | 261 | 157k | { | 262 | 157k | } |
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 | 4.08k | : maData(OInterfaceContainerHelper3<T>::DEFAULT()) | 260 | 4.08k | , mrMutex(rMutex_) | 261 | 4.08k | { | 262 | 4.08k | } |
|
263 | | |
264 | | template <class T> |
265 | | template <typename FuncT> |
266 | | inline void OInterfaceContainerHelper3<T>::forEach(FuncT const& func) |
267 | 2.01M | { |
268 | 2.01M | osl::ClearableMutexGuard aGuard(mrMutex); |
269 | 2.01M | if (std::as_const(maData)->empty()) |
270 | 1.95M | return; |
271 | 65.3k | OInterfaceIteratorHelper3<T> iter(*this); |
272 | 65.3k | aGuard.clear(); |
273 | 130k | while (iter.hasMoreElements()) |
274 | 65.3k | { |
275 | 65.3k | auto xListener = iter.next(); |
276 | 65.3k | try |
277 | 65.3k | { |
278 | 65.3k | func(xListener); |
279 | 65.3k | } |
280 | 65.3k | catch (css::lang::DisposedException const& exc) |
281 | 65.3k | { |
282 | 0 | if (exc.Context == xListener) |
283 | 0 | iter.remove(); |
284 | 0 | } |
285 | 65.3k | } |
286 | 65.3k | } 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 | 65.4k | { | 268 | 65.4k | osl::ClearableMutexGuard aGuard(mrMutex); | 269 | 65.4k | if (std::as_const(maData)->empty()) | 270 | 40 | return; | 271 | 65.3k | OInterfaceIteratorHelper3<T> iter(*this); | 272 | 65.3k | aGuard.clear(); | 273 | 130k | while (iter.hasMoreElements()) | 274 | 65.3k | { | 275 | 65.3k | auto xListener = iter.next(); | 276 | 65.3k | try | 277 | 65.3k | { | 278 | 65.3k | func(xListener); | 279 | 65.3k | } | 280 | 65.3k | catch (css::lang::DisposedException const& exc) | 281 | 65.3k | { | 282 | 0 | if (exc.Context == xListener) | 283 | 0 | iter.remove(); | 284 | 0 | } | 285 | 65.3k | } | 286 | 65.3k | } |
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 | 14.9k | { | 268 | 14.9k | osl::ClearableMutexGuard aGuard(mrMutex); | 269 | 14.9k | if (std::as_const(maData)->empty()) | 270 | 14.9k | 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.93M | { | 268 | 1.93M | osl::ClearableMutexGuard aGuard(mrMutex); | 269 | 1.93M | if (std::as_const(maData)->empty()) | 270 | 1.93M | 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 | 2.01M | { |
293 | 2.01M | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); |
294 | 2.01M | } 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 | 65.4k | { | 293 | 65.4k | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); | 294 | 65.4k | } |
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 | 14.9k | { | 293 | 14.9k | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); | 294 | 14.9k | } |
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.93M | { | 293 | 1.93M | forEach<NotifySingleListener<EventT>>(NotifySingleListener<EventT>(NotificationMethod, Event)); | 294 | 1.93M | } |
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.0M | { |
298 | 12.0M | osl::MutexGuard aGuard(mrMutex); |
299 | 12.0M | return maData->size(); |
300 | 12.0M | } Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::getLength() const comphelper::OInterfaceContainerHelper3<com::sun::star::util::XChangesListener>::getLength() const Line | Count | Source | 297 | 24.1k | { | 298 | 24.1k | osl::MutexGuard aGuard(mrMutex); | 299 | 24.1k | return maData->size(); | 300 | 24.1k | } |
Unexecuted instantiation: comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::getLength() const comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::getLength() const Line | Count | Source | 297 | 415k | { | 298 | 415k | osl::MutexGuard aGuard(mrMutex); | 299 | 415k | return maData->size(); | 300 | 415k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::getLength() const Line | Count | Source | 297 | 9.47M | { | 298 | 9.47M | osl::MutexGuard aGuard(mrMutex); | 299 | 9.47M | return maData->size(); | 300 | 9.47M | } |
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.17M | { | 298 | 2.17M | osl::MutexGuard aGuard(mrMutex); | 299 | 2.17M | return maData->size(); | 300 | 2.17M | } |
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.92M | { |
306 | 1.92M | std::vector<css::uno::Reference<ListenerT>> rVec; |
307 | 1.92M | osl::MutexGuard aGuard(mrMutex); |
308 | 1.92M | rVec = *maData; |
309 | 1.92M | return rVec; |
310 | 1.92M | } |
311 | | |
312 | | template <class ListenerT> |
313 | | sal_Int32 |
314 | | OInterfaceContainerHelper3<ListenerT>::addInterface(const css::uno::Reference<ListenerT>& rListener) |
315 | 451k | { |
316 | 451k | assert(rListener.is()); |
317 | 451k | osl::MutexGuard aGuard(mrMutex); |
318 | | |
319 | 451k | maData->push_back(rListener); |
320 | 451k | return std::as_const(maData)->size(); |
321 | 451k | } 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 | 220k | { | 316 | 220k | assert(rListener.is()); | 317 | 220k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 220k | maData->push_back(rListener); | 320 | 220k | return std::as_const(maData)->size(); | 321 | 220k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&) Line | Count | Source | 315 | 14.0k | { | 316 | 14.0k | assert(rListener.is()); | 317 | 14.0k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 14.0k | maData->push_back(rListener); | 320 | 14.0k | return std::as_const(maData)->size(); | 321 | 14.0k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&) Line | Count | Source | 315 | 211k | { | 316 | 211k | assert(rListener.is()); | 317 | 211k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 211k | maData->push_back(rListener); | 320 | 211k | return std::as_const(maData)->size(); | 321 | 211k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&) Line | Count | Source | 315 | 615 | { | 316 | 615 | assert(rListener.is()); | 317 | 615 | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 615 | maData->push_back(rListener); | 320 | 615 | return std::as_const(maData)->size(); | 321 | 615 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::addInterface(com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&) Line | Count | Source | 315 | 4.18k | { | 316 | 4.18k | assert(rListener.is()); | 317 | 4.18k | osl::MutexGuard aGuard(mrMutex); | 318 | | | 319 | 4.18k | maData->push_back(rListener); | 320 | 4.18k | return std::as_const(maData)->size(); | 321 | 4.18k | } |
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 | 110k | { |
327 | 110k | assert(rListener.is()); |
328 | 110k | osl::MutexGuard aGuard(mrMutex); |
329 | | |
330 | | // It is not valid to compare the pointer directly, but it's faster. |
331 | 110k | auto it = std::find_if(maData->begin(), maData->end(), |
332 | 110k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { |
333 | 109k | return rItem.get() == rListener.get(); |
334 | 109k | }); 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 | 101k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 101k | return rItem.get() == rListener.get(); | 334 | 101k | }); |
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 | 8.16k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 8.16k | return rItem.get() == rListener.get(); | 334 | 8.16k | }); |
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 | 110k | if (it == maData->end()) |
338 | 4.79k | it = std::find(maData->begin(), maData->end(), rListener); |
339 | | |
340 | 110k | if (it != maData->end()) |
341 | 105k | maData->erase(it); |
342 | | |
343 | 110k | return std::as_const(maData)->size(); |
344 | 110k | } 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 | 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 | 101k | return rItem.get() == rListener.get(); | 334 | 101k | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 101k | if (it == maData->end()) | 338 | 0 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 101k | if (it != maData->end()) | 341 | 101k | maData->erase(it); | 342 | | | 343 | 101k | return std::as_const(maData)->size(); | 344 | 101k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> const&) Line | Count | Source | 326 | 4.08k | { | 327 | 4.08k | assert(rListener.is()); | 328 | 4.08k | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 4.08k | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 4.08k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 4.08k | return rItem.get() == rListener.get(); | 334 | 4.08k | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 4.08k | if (it == maData->end()) | 338 | 4.08k | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 4.08k | if (it != maData->end()) | 341 | 0 | maData->erase(it); | 342 | | | 343 | 4.08k | return std::as_const(maData)->size(); | 344 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::document::XEventListener> const&) Line | Count | Source | 326 | 615 | { | 327 | 615 | assert(rListener.is()); | 328 | 615 | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 615 | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 615 | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 615 | return rItem.get() == rListener.get(); | 334 | 615 | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 615 | if (it == maData->end()) | 338 | 615 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 615 | if (it != maData->end()) | 341 | 0 | maData->erase(it); | 342 | | | 343 | 615 | return std::as_const(maData)->size(); | 344 | 615 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::util::XCloseListener> const&) Line | Count | Source | 326 | 4.08k | { | 327 | 4.08k | assert(rListener.is()); | 328 | 4.08k | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 4.08k | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 4.08k | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 4.08k | return rItem.get() == rListener.get(); | 334 | 4.08k | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 4.08k | if (it == maData->end()) | 338 | 0 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 4.08k | if (it != maData->end()) | 341 | 4.08k | maData->erase(it); | 342 | | | 343 | 4.08k | return std::as_const(maData)->size(); | 344 | 4.08k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::removeInterface(com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener> const&) Line | Count | Source | 326 | 101 | { | 327 | 101 | assert(rListener.is()); | 328 | 101 | osl::MutexGuard aGuard(mrMutex); | 329 | | | 330 | | // It is not valid to compare the pointer directly, but it's faster. | 331 | 101 | auto it = std::find_if(maData->begin(), maData->end(), | 332 | 101 | [&rListener](const css::uno::Reference<css::uno::XInterface>& rItem) { | 333 | 101 | return rItem.get() == rListener.get(); | 334 | 101 | }); | 335 | | | 336 | | // interface not found, use the correct compare method | 337 | 101 | if (it == maData->end()) | 338 | 101 | it = std::find(maData->begin(), maData->end(), rListener); | 339 | | | 340 | 101 | if (it != maData->end()) | 341 | 0 | maData->erase(it); | 342 | | | 343 | 101 | return std::as_const(maData)->size(); | 344 | 101 | } |
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 | 2.06M | { |
358 | 2.06M | osl::ClearableMutexGuard aGuard(mrMutex); |
359 | 2.06M | OInterfaceIteratorHelper3<ListenerT> aIt(*this); |
360 | 2.06M | maData->clear(); |
361 | 2.06M | aGuard.clear(); |
362 | 2.40M | while (aIt.hasMoreElements()) |
363 | 335k | { |
364 | 335k | try |
365 | 335k | { |
366 | 335k | aIt.next()->disposing(rEvt); |
367 | 335k | } |
368 | 335k | catch (css::uno::RuntimeException&) |
369 | 335k | { |
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 | 335k | } |
374 | 2.06M | } comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XDockableWindowListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 49.0k | { | 358 | 49.0k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 49.0k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 49.0k | maData->clear(); | 361 | 49.0k | aGuard.clear(); | 362 | 49.0k | 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 | 49.0k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::awt::XWindowListener2>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 49.0k | { | 358 | 49.0k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 49.0k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 49.0k | maData->clear(); | 361 | 49.0k | aGuard.clear(); | 362 | 49.0k | 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 | 49.0k | } |
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 | 62 | { | 358 | 62 | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 62 | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 62 | maData->clear(); | 361 | 62 | aGuard.clear(); | 362 | 62 | 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 | 62 | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::view::XPrintJobListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 207k | { | 358 | 207k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 207k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 207k | maData->clear(); | 361 | 207k | aGuard.clear(); | 362 | 207k | 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 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::lang::XEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 326k | { | 358 | 326k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 326k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 326k | maData->clear(); | 361 | 326k | aGuard.clear(); | 362 | 446k | while (aIt.hasMoreElements()) | 363 | 119k | { | 364 | 119k | try | 365 | 119k | { | 366 | 119k | aIt.next()->disposing(rEvt); | 367 | 119k | } | 368 | 119k | catch (css::uno::RuntimeException&) | 369 | 119k | { | 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 | 119k | } | 374 | 326k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XModifyListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 207k | { | 358 | 207k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 207k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 207k | maData->clear(); | 361 | 207k | aGuard.clear(); | 362 | 211k | while (aIt.hasMoreElements()) | 363 | 4.08k | { | 364 | 4.08k | try | 365 | 4.08k | { | 366 | 4.08k | aIt.next()->disposing(rEvt); | 367 | 4.08k | } | 368 | 4.08k | catch (css::uno::RuntimeException&) | 369 | 4.08k | { | 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 | 4.08k | } | 374 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 207k | { | 358 | 207k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 207k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 207k | maData->clear(); | 361 | 207k | aGuard.clear(); | 362 | 208k | while (aIt.hasMoreElements()) | 363 | 615 | { | 364 | 615 | try | 365 | 615 | { | 366 | 615 | aIt.next()->disposing(rEvt); | 367 | 615 | } | 368 | 615 | catch (css::uno::RuntimeException&) | 369 | 615 | { | 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 | 615 | } | 374 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 207k | { | 358 | 207k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 207k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 207k | maData->clear(); | 361 | 207k | aGuard.clear(); | 362 | 211k | while (aIt.hasMoreElements()) | 363 | 4.18k | { | 364 | 4.18k | try | 365 | 4.18k | { | 366 | 4.18k | aIt.next()->disposing(rEvt); | 367 | 4.18k | } | 368 | 4.18k | catch (css::uno::RuntimeException&) | 369 | 4.18k | { | 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 | 4.18k | } | 374 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::document::XStorageChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 207k | { | 358 | 207k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 207k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 207k | maData->clear(); | 361 | 207k | aGuard.clear(); | 362 | 207k | 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 | 207k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::util::XCloseListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 207k | { | 358 | 207k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 207k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 207k | maData->clear(); | 361 | 207k | aGuard.clear(); | 362 | 415k | while (aIt.hasMoreElements()) | 363 | 207k | { | 364 | 207k | try | 365 | 207k | { | 366 | 207k | aIt.next()->disposing(rEvt); | 367 | 207k | } | 368 | 207k | catch (css::uno::RuntimeException&) | 369 | 207k | { | 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 | 207k | } | 374 | 207k | } |
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 | 10.6k | { | 358 | 10.6k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 10.6k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 10.6k | maData->clear(); | 361 | 10.6k | aGuard.clear(); | 362 | 10.6k | 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 | 10.6k | } |
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 | 177k | { | 358 | 177k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 177k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 177k | maData->clear(); | 361 | 177k | aGuard.clear(); | 362 | 177k | 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 | 177k | } |
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 | 10.6k | { | 358 | 10.6k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 10.6k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 10.6k | maData->clear(); | 361 | 10.6k | aGuard.clear(); | 362 | 10.6k | 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 | 10.6k | } |
comphelper::OInterfaceContainerHelper3<com::sun::star::sdb::XRowsChangeListener>::disposeAndClear(com::sun::star::lang::EventObject const&) Line | Count | Source | 357 | 10.6k | { | 358 | 10.6k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 10.6k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 10.6k | maData->clear(); | 361 | 10.6k | aGuard.clear(); | 362 | 10.6k | 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 | 10.6k | } |
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 | 177k | { | 358 | 177k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 177k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 177k | maData->clear(); | 361 | 177k | aGuard.clear(); | 362 | 177k | 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 | 177k | } |
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 | 8.16k | { | 358 | 8.16k | osl::ClearableMutexGuard aGuard(mrMutex); | 359 | 8.16k | OInterfaceIteratorHelper3<ListenerT> aIt(*this); | 360 | 8.16k | maData->clear(); | 361 | 8.16k | aGuard.clear(); | 362 | 8.16k | 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 | 8.16k | } |
|
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: */ |