Coverage Report

Created: 2026-03-31 11:00

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/cppuhelper/queryinterface.hxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
 * This file is part of the LibreOffice project.
4
 *
5
 * This Source Code Form is subject to the terms of the Mozilla Public
6
 * License, v. 2.0. If a copy of the MPL was not distributed with this
7
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
 *
9
 * This file incorporates work covered by the following license notice:
10
 *
11
 *   Licensed to the Apache Software Foundation (ASF) under one or more
12
 *   contributor license agreements. See the NOTICE file distributed
13
 *   with this work for additional information regarding copyright
14
 *   ownership. The ASF licenses this file to you under the Apache
15
 *   License, Version 2.0 (the "License"); you may not use this file
16
 *   except in compliance with the License. You may obtain a copy of
17
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
 */
19
20
/*
21
 * This file is part of LibreOffice published API.
22
 */
23
24
#ifndef INCLUDED_CPPUHELPER_QUERYINTERFACE_HXX
25
#define INCLUDED_CPPUHELPER_QUERYINTERFACE_HXX
26
27
#include "sal/config.h"
28
#include "com/sun/star/uno/Any.hxx"
29
#include "com/sun/star/uno/Type.h"
30
#include "sal/types.h"
31
32
namespace cppu
33
{
34
35
/** Compares demanded type to given template argument types.
36
37
    @tparam Interface1 interface type
38
    @param rType demanded type
39
    @param p1 interface pointer
40
    @return acquired interface of demanded type or empty Any
41
*/
42
template< class Interface1 >
43
inline css::uno::Any SAL_CALL queryInterface(
44
    const css::uno::Type & rType,
45
    Interface1 * p1 )
46
303k
{
47
303k
    if (rType == Interface1::static_type())
48
121k
        return css::uno::Any( &p1, rType );
49
181k
    else
50
181k
        return css::uno::Any();
51
303k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::datatransfer::XTransferable>(com::sun::star::uno::Type const&, com::sun::star::datatransfer::XTransferable*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySetOption>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySetOption*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XInterface>(com::sun::star::uno::Type const&, com::sun::star::uno::XInterface*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sheet::XSelectedSheetsSupplier>(com::sun::star::uno::Type const&, com::sun::star::sheet::XSelectedSheetsSupplier*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::drawing::XEnhancedCustomShapeDefaulter>(com::sun::star::uno::Type const&, com::sun::star::drawing::XEnhancedCustomShapeDefaulter*)
Line
Count
Source
46
34.9k
{
47
34.9k
    if (rType == Interface1::static_type())
48
195
        return css::uno::Any( &p1, rType );
49
34.7k
    else
50
34.7k
        return css::uno::Any();
51
34.9k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::form::XGridControlListener>(com::sun::star::uno::Type const&, com::sun::star::form::XGridControlListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertyState>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertyState*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::util::XChangesNotifier>(com::sun::star::uno::Type const&, com::sun::star::util::XChangesNotifier*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::util::XChangesBatch>(com::sun::star::uno::Type const&, com::sun::star::util::XChangesBatch*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XNameContainer>(com::sun::star::uno::Type const&, com::sun::star::container::XNameContainer*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XSingleServiceFactory>(com::sun::star::uno::Type const&, com::sun::star::lang::XSingleServiceFactory*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XChild>(com::sun::star::uno::Type const&, com::sun::star::container::XChild*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XConnectionPointContainer>(com::sun::star::uno::Type const&, com::sun::star::lang::XConnectionPointContainer*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XConnectionPoint>(com::sun::star::uno::Type const&, com::sun::star::lang::XConnectionPoint*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySet>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySet*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sdbc::XGeneratedResultSet>(com::sun::star::uno::Type const&, com::sun::star::sdbc::XGeneratedResultSet*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sdbc::XPreparedBatchExecution>(com::sun::star::uno::Type const&, com::sun::star::sdbc::XPreparedBatchExecution*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XSeekable>(com::sun::star::uno::Type const&, com::sun::star::io::XSeekable*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XInputStream>(com::sun::star::uno::Type const&, com::sun::star::io::XInputStream*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XOutputStream>(com::sun::star::uno::Type const&, com::sun::star::io::XOutputStream*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XTruncate>(com::sun::star::uno::Type const&, com::sun::star::io::XTruncate*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XAsyncOutputMonitor>(com::sun::star::uno::Type const&, com::sun::star::io::XAsyncOutputMonitor*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*)
Line
Count
Source
46
10.2k
{
47
10.2k
    if (rType == Interface1::static_type())
48
6.41k
        return css::uno::Any( &p1, rType );
49
3.83k
    else
50
3.83k
        return css::uno::Any();
51
10.2k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAudio>(com::sun::star::uno::Type const&, com::sun::star::animations::XAudio*)
Line
Count
Source
46
139
{
47
139
    if (rType == Interface1::static_type())
48
45
        return css::uno::Any( &p1, rType );
49
94
    else
50
94
        return css::uno::Any();
51
139
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XCommand>(com::sun::star::uno::Type const&, com::sun::star::animations::XCommand*)
Line
Count
Source
46
545
{
47
545
    if (rType == Interface1::static_type())
48
171
        return css::uno::Any( &p1, rType );
49
374
    else
50
374
        return css::uno::Any();
51
545
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XComboBox>(com::sun::star::uno::Type const&, com::sun::star::awt::XComboBox*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XItemListener>(com::sun::star::uno::Type const&, com::sun::star::awt::XItemListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XItemListListener>(com::sun::star::uno::Type const&, com::sun::star::awt::XItemListListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XSpinField>(com::sun::star::uno::Type const&, com::sun::star::awt::XSpinField*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XDateField>(com::sun::star::uno::Type const&, com::sun::star::awt::XDateField*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XTimeField>(com::sun::star::uno::Type const&, com::sun::star::awt::XTimeField*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XNumericField>(com::sun::star::uno::Type const&, com::sun::star::awt::XNumericField*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XCurrencyField>(com::sun::star::uno::Type const&, com::sun::star::awt::XCurrencyField*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XPatternField>(com::sun::star::uno::Type const&, com::sun::star::awt::XPatternField*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XProgressBar>(com::sun::star::uno::Type const&, com::sun::star::awt::XProgressBar*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySetInfo>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySetInfo*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::ucb::XCommandInfo>(com::sun::star::uno::Type const&, com::sun::star::ucb::XCommandInfo*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::ucb::XContentCreator>(com::sun::star::uno::Type const&, com::sun::star::ucb::XContentCreator*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XStorageRawAccess>(com::sun::star::uno::Type const&, com::sun::star::embed::XStorageRawAccess*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XRelationshipAccess>(com::sun::star::uno::Type const&, com::sun::star::embed::XRelationshipAccess*)
Line
Count
Source
46
257k
{
47
257k
    if (rType == Interface1::static_type())
48
114k
        return css::uno::Any( &p1, rType );
49
142k
    else
50
142k
        return css::uno::Any();
51
257k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XElementAccess>(com::sun::star::uno::Type const&, com::sun::star::container::XElementAccess*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XNameAccess>(com::sun::star::uno::Type const&, com::sun::star::container::XNameAccess*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XNameReplace>(com::sun::star::uno::Type const&, com::sun::star::container::XNameReplace*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XIndexAccess>(com::sun::star::uno::Type const&, com::sun::star::container::XIndexAccess*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XIndexReplace>(com::sun::star::uno::Type const&, com::sun::star::container::XIndexReplace*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XIndexContainer>(com::sun::star::uno::Type const&, com::sun::star::container::XIndexContainer*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XEnumerationAccess>(com::sun::star::uno::Type const&, com::sun::star::container::XEnumerationAccess*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::reflection::XIdlArray>(com::sun::star::uno::Type const&, com::sun::star::reflection::XIdlArray*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XUnoTunnel>(com::sun::star::uno::Type const&, com::sun::star::lang::XUnoTunnel*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::accessibility::XAccessibleSelection>(com::sun::star::uno::Type const&, com::sun::star::accessibility::XAccessibleSelection*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::ui::XContextChangeEventListener>(com::sun::star::uno::Type const&, com::sun::star::ui::XContextChangeEventListener*)
52
/** Compares demanded type to given template argument types.
53
54
    @tparam Interface1 interface type
55
    @tparam Interface2 interface type
56
    @param rType demanded type
57
    @param p1 interface pointer
58
    @param p2 interface pointer
59
    @return acquired interface of demanded type or empty Any
60
*/
61
template< class Interface1, class Interface2 >
62
inline css::uno::Any SAL_CALL queryInterface(
63
    const css::uno::Type & rType,
64
    Interface1 * p1, Interface2 * p2 )
65
152M
{
66
152M
    if (rType == Interface1::static_type())
67
960k
        return css::uno::Any( &p1, rType );
68
151M
    else if (rType == Interface2::static_type())
69
87.2M
        return css::uno::Any( &p2, rType );
70
64.5M
    else
71
64.5M
        return css::uno::Any();
72
152M
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XAdapter, com::sun::star::uno::XInterface>(com::sun::star::uno::Type const&, com::sun::star::uno::XAdapter*, com::sun::star::uno::XInterface*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XWeak, com::sun::star::uno::XInterface>(com::sun::star::uno::Type const&, com::sun::star::uno::XWeak*, com::sun::star::uno::XInterface*)
Line
Count
Source
65
152M
{
66
152M
    if (rType == Interface1::static_type())
67
867k
        return css::uno::Any( &p1, rType );
68
151M
    else if (rType == Interface2::static_type())
69
87.1M
        return css::uno::Any( &p2, rType );
70
64.1M
    else
71
64.1M
        return css::uno::Any();
72
152M
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XReference, com::sun::star::uno::XInterface>(com::sun::star::uno::Type const&, com::sun::star::uno::XReference*, com::sun::star::uno::XInterface*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XWeak, com::sun::star::lang::XComponent>(com::sun::star::uno::Type const&, com::sun::star::uno::XWeak*, com::sun::star::lang::XComponent*)
Line
Count
Source
65
114k
{
66
114k
    if (rType == Interface1::static_type())
67
0
        return css::uno::Any( &p1, rType );
68
114k
    else if (rType == Interface2::static_type())
69
82.6k
        return css::uno::Any( &p2, rType );
70
31.5k
    else
71
31.5k
        return css::uno::Any();
72
114k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XFocusListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XFocusListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XWindowListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XWindowListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XVclContainerListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XVclContainerListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XKeyListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XKeyListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XMouseListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XMouseListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XMouseMotionListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XMouseMotionListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XPaintListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XPaintListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XTopWindowListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XTopWindowListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XTextListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XTextListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XActionListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XActionListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XItemListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XItemListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XTabListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XTabListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::container::XContainerListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::container::XContainerListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XSpinListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XSpinListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XAdjustmentListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XAdjustmentListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::XMenuListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::XMenuListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::view::XSelectionChangeListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::view::XSelectionChangeListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::tree::XTreeExpansionListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::tree::XTreeExpansionListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::tree::XTreeEditListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::tree::XTreeEditListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::grid::XGridSelectionListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::grid::XGridSelectionListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::awt::tab::XTabPageContainerListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::awt::tab::XTabPageContainerListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::ucb::XContentEventListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::ucb::XContentEventListener*, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::util::XModifyListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::util::XModifyListener*, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::form::XUpdateListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::form::XUpdateListener*, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::view::XSelectionChangeListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::view::XSelectionChangeListener*, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XContainerListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::container::XContainerListener*, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::container::XNameReplace, com::sun::star::container::XHierarchicalNameReplace>(com::sun::star::uno::Type const&, com::sun::star::container::XNameReplace*, com::sun::star::container::XHierarchicalNameReplace*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sdb::XColumn, com::sun::star::sdb::XColumnUpdate>(com::sun::star::uno::Type const&, com::sun::star::sdb::XColumn*, com::sun::star::sdb::XColumnUpdate*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sdbc::XRow, com::sun::star::sdbc::XOutParameters>(com::sun::star::uno::Type const&, com::sun::star::sdbc::XRow*, com::sun::star::sdbc::XOutParameters*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XStream, com::sun::star::io::XInputStream>(com::sun::star::uno::Type const&, com::sun::star::io::XStream*, com::sun::star::io::XInputStream*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XServiceInfo, com::sun::star::lang::XTypeProvider>(com::sun::star::uno::Type const&, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XTypeProvider*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XInitialization, com::sun::star::lang::XServiceInfo>(com::sun::star::uno::Type const&, com::sun::star::lang::XInitialization*, com::sun::star::lang::XServiceInfo*)
Line
Count
Source
65
21.3k
{
66
21.3k
    if (rType == Interface1::static_type())
67
10.6k
        return css::uno::Any( &p1, rType );
68
10.6k
    else if (rType == Interface2::static_type())
69
0
        return css::uno::Any( &p2, rType );
70
10.6k
    else
71
10.6k
        return css::uno::Any();
72
21.3k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate, com::sun::star::animations::XAnimateMotion>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*, com::sun::star::animations::XAnimateMotion*)
Line
Count
Source
65
79
{
66
79
    if (rType == Interface1::static_type())
67
32
        return css::uno::Any( &p1, rType );
68
47
    else if (rType == Interface2::static_type())
69
17
        return css::uno::Any( &p2, rType );
70
30
    else
71
30
        return css::uno::Any();
72
79
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate, com::sun::star::animations::XAnimatePhysics>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*, com::sun::star::animations::XAnimatePhysics*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate, com::sun::star::animations::XAnimateColor>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*, com::sun::star::animations::XAnimateColor*)
Line
Count
Source
65
1.84k
{
66
1.84k
    if (rType == Interface1::static_type())
67
819
        return css::uno::Any( &p1, rType );
68
1.03k
    else if (rType == Interface2::static_type())
69
685
        return css::uno::Any( &p2, rType );
70
345
    else
71
345
        return css::uno::Any();
72
1.84k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate, com::sun::star::animations::XAnimateSet>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*, com::sun::star::animations::XAnimateSet*)
Line
Count
Source
65
10.2k
{
66
10.2k
    if (rType == Interface1::static_type())
67
4.37k
        return css::uno::Any( &p1, rType );
68
5.83k
    else if (rType == Interface2::static_type())
69
1.80k
        return css::uno::Any( &p2, rType );
70
4.02k
    else
71
4.02k
        return css::uno::Any();
72
10.2k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate, com::sun::star::animations::XAnimateTransform>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*, com::sun::star::animations::XAnimateTransform*)
Line
Count
Source
65
5.83k
{
66
5.83k
    if (rType == Interface1::static_type())
67
2.50k
        return css::uno::Any( &p1, rType );
68
3.32k
    else if (rType == Interface2::static_type())
69
1.07k
        return css::uno::Any( &p2, rType );
70
2.25k
    else
71
2.25k
        return css::uno::Any();
72
5.83k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XAnimate, com::sun::star::animations::XTransitionFilter>(com::sun::star::uno::Type const&, com::sun::star::animations::XAnimate*, com::sun::star::animations::XTransitionFilter*)
Line
Count
Source
65
5.91k
{
66
5.91k
    if (rType == Interface1::static_type())
67
2.65k
        return css::uno::Any( &p1, rType );
68
3.26k
    else if (rType == Interface2::static_type())
69
1.12k
        return css::uno::Any( &p2, rType );
70
2.13k
    else
71
2.13k
        return css::uno::Any();
72
5.91k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XTabListener, com::sun::star::awt::XSimpleTabController>(com::sun::star::uno::Type const&, com::sun::star::awt::XTabListener*, com::sun::star::awt::XSimpleTabController*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XAdjustmentListener, com::sun::star::awt::XScrollBar>(com::sun::star::uno::Type const&, com::sun::star::awt::XAdjustmentListener*, com::sun::star::awt::XScrollBar*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XFixedHyperlink, com::sun::star::awt::XLayoutConstrains>(com::sun::star::uno::Type const&, com::sun::star::awt::XFixedHyperlink*, com::sun::star::awt::XLayoutConstrains*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XFixedText, com::sun::star::awt::XLayoutConstrains>(com::sun::star::uno::Type const&, com::sun::star::awt::XFixedText*, com::sun::star::awt::XLayoutConstrains*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::beans::XPropertySetInfo>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::beans::XPropertySetInfo*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XHierarchicalStorageAccess, com::sun::star::embed::XHierarchicalStorageAccess2>(com::sun::star::uno::Type const&, com::sun::star::embed::XHierarchicalStorageAccess*, com::sun::star::embed::XHierarchicalStorageAccess2*)
Line
Count
Source
65
455k
{
66
455k
    if (rType == Interface1::static_type())
67
71.2k
        return css::uno::Any( &p1, rType );
68
384k
    else if (rType == Interface2::static_type())
69
0
        return css::uno::Any( &p2, rType );
70
384k
    else
71
384k
        return css::uno::Any();
72
455k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XEncryptionProtectedSource2, com::sun::star::embed::XEncryptionProtectedSource>(com::sun::star::uno::Type const&, com::sun::star::embed::XEncryptionProtectedSource2*, com::sun::star::embed::XEncryptionProtectedSource*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XTransactedObject, com::sun::star::embed::XTransactionBroadcaster>(com::sun::star::uno::Type const&, com::sun::star::embed::XTransactedObject*, com::sun::star::embed::XTransactionBroadcaster*)
73
/** Compares demanded type to given template argument types.
74
75
    @tparam Interface1 interface type
76
    @tparam Interface2 interface type
77
    @tparam Interface3 interface type
78
    @param rType demanded type
79
    @param p1 interface pointer
80
    @param p2 interface pointer
81
    @param p3 interface pointer
82
    @return acquired interface of demanded type or empty Any
83
*/
84
template< class Interface1, class Interface2, class Interface3 >
85
inline css::uno::Any SAL_CALL queryInterface(
86
    const css::uno::Type & rType,
87
    Interface1 * p1, Interface2 * p2, Interface3 * p3 )
88
18.0M
{
89
18.0M
    if (rType == Interface1::static_type())
90
1.61M
        return css::uno::Any( &p1, rType );
91
16.4M
    else if (rType == Interface2::static_type())
92
80.8k
        return css::uno::Any( &p2, rType );
93
16.3M
    else if (rType == Interface3::static_type())
94
497k
        return css::uno::Any( &p3, rType );
95
15.8M
    else
96
15.8M
        return css::uno::Any();
97
18.0M
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XInterface, com::sun::star::uno::XAggregation, com::sun::star::uno::XWeak>(com::sun::star::uno::Type const&, com::sun::star::uno::XInterface*, com::sun::star::uno::XAggregation*, com::sun::star::uno::XWeak*)
Line
Count
Source
88
1.94M
{
89
1.94M
    if (rType == Interface1::static_type())
90
903k
        return css::uno::Any( &p1, rType );
91
1.03M
    else if (rType == Interface2::static_type())
92
63.4k
        return css::uno::Any( &p2, rType );
93
973k
    else if (rType == Interface3::static_type())
94
486k
        return css::uno::Any( &p3, rType );
95
486k
    else
96
486k
        return css::uno::Any();
97
1.94M
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySet, com::sun::star::beans::XMultiPropertySet, com::sun::star::beans::XFastPropertySet>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySet*, com::sun::star::beans::XMultiPropertySet*, com::sun::star::beans::XFastPropertySet*)
Line
Count
Source
88
16.0M
{
89
16.0M
    if (rType == Interface1::static_type())
90
683k
        return css::uno::Any( &p1, rType );
91
15.3M
    else if (rType == Interface2::static_type())
92
124
        return css::uno::Any( &p2, rType );
93
15.3M
    else if (rType == Interface3::static_type())
94
4
        return css::uno::Any( &p3, rType );
95
15.3M
    else
96
15.3M
        return css::uno::Any();
97
16.0M
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sheet::XDataPilotTable, com::sun::star::sheet::XDataPilotTable2, com::sun::star::util::XModifyBroadcaster>(com::sun::star::uno::Type const&, com::sun::star::sheet::XDataPilotTable*, com::sun::star::sheet::XDataPilotTable2*, com::sun::star::util::XModifyBroadcaster*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::xml::sax::XFastContextHandler, com::sun::star::lang::XTypeProvider, com::sun::star::uno::XInterface>(com::sun::star::uno::Type const&, com::sun::star::xml::sax::XFastContextHandler*, com::sun::star::lang::XTypeProvider*, com::sun::star::uno::XInterface*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertiesChangeListener, com::sun::star::beans::XVetoableChangeListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertiesChangeListener*, com::sun::star::beans::XVetoableChangeListener*, com::sun::star::lang::XEventListener*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sdbc::XPreparedStatement, com::sun::star::sdbc::XParameters, com::sun::star::sdbc::XResultSetMetaDataSupplier>(com::sun::star::uno::Type const&, com::sun::star::sdbc::XPreparedStatement*, com::sun::star::sdbc::XParameters*, com::sun::star::sdbc::XResultSetMetaDataSupplier*)
Line
Count
Source
88
52.0k
{
89
52.0k
    if (rType == Interface1::static_type())
90
20.8k
        return css::uno::Any( &p1, rType );
91
31.2k
    else if (rType == Interface2::static_type())
92
10.4k
        return css::uno::Any( &p2, rType );
93
20.8k
    else if (rType == Interface3::static_type())
94
10.4k
        return css::uno::Any( &p3, rType );
95
10.4k
    else
96
10.4k
        return css::uno::Any();
97
52.0k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XStream, com::sun::star::io::XInputStream, com::sun::star::io::XSeekable>(com::sun::star::uno::Type const&, com::sun::star::io::XStream*, com::sun::star::io::XInputStream*, com::sun::star::io::XSeekable*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XDockableWindowListener, com::sun::star::ui::XUIConfigurationListener, com::sun::star::awt::XWindowListener>(com::sun::star::uno::Type const&, com::sun::star::awt::XDockableWindowListener*, com::sun::star::ui::XUIConfigurationListener*, com::sun::star::awt::XWindowListener*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XTimeContainer, com::sun::star::container::XEnumerationAccess, com::sun::star::container::XElementAccess>(com::sun::star::uno::Type const&, com::sun::star::animations::XTimeContainer*, com::sun::star::container::XEnumerationAccess*, com::sun::star::container::XElementAccess*)
Line
Count
Source
88
19.2k
{
89
19.2k
    if (rType == Interface1::static_type())
90
6.23k
        return css::uno::Any( &p1, rType );
91
13.0k
    else if (rType == Interface2::static_type())
92
6.91k
        return css::uno::Any( &p2, rType );
93
6.09k
    else if (rType == Interface3::static_type())
94
0
        return css::uno::Any( &p3, rType );
95
6.09k
    else
96
6.09k
        return css::uno::Any();
97
19.2k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XTabController, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XTypeProvider>(com::sun::star::uno::Type const&, com::sun::star::awt::XTabController*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XTypeProvider*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::lang::XServiceInfo, com::sun::star::ucb::XContentProvider>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::lang::XServiceInfo*, com::sun::star::ucb::XContentProvider*)
98
/** Compares demanded type to given template argument types.
99
100
    @tparam Interface1 interface type
101
    @tparam Interface2 interface type
102
    @tparam Interface3 interface type
103
    @tparam Interface4 interface type
104
    @param rType demanded type
105
    @param p1 interface pointer
106
    @param p2 interface pointer
107
    @param p3 interface pointer
108
    @param p4 interface pointer
109
    @return acquired interface of demanded type or empty Any
110
*/
111
template< class Interface1, class Interface2, class Interface3, class Interface4 >
112
inline css::uno::Any SAL_CALL queryInterface(
113
    const css::uno::Type & rType,
114
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4 )
115
366k
{
116
366k
    if (rType == Interface1::static_type())
117
30.1k
        return css::uno::Any( &p1, rType );
118
335k
    else if (rType == Interface2::static_type())
119
26.5k
        return css::uno::Any( &p2, rType );
120
309k
    else if (rType == Interface3::static_type())
121
37.1k
        return css::uno::Any( &p3, rType );
122
272k
    else if (rType == Interface4::static_type())
123
122k
        return css::uno::Any( &p4, rType );
124
149k
    else
125
149k
        return css::uno::Any();
126
366k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XEventListener, com::sun::star::datatransfer::dnd::XDragGestureListener, com::sun::star::datatransfer::dnd::XDragSourceListener, com::sun::star::datatransfer::dnd::XDropTargetListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XEventListener*, com::sun::star::datatransfer::dnd::XDragGestureListener*, com::sun::star::datatransfer::dnd::XDragSourceListener*, com::sun::star::datatransfer::dnd::XDropTargetListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XMenu, com::sun::star::awt::XPopupMenu, com::sun::star::lang::XTypeProvider, com::sun::star::lang::XServiceInfo>(com::sun::star::uno::Type const&, com::sun::star::awt::XMenu*, com::sun::star::awt::XPopupMenu*, com::sun::star::lang::XTypeProvider*, com::sun::star::lang::XServiceInfo*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::awt::XMenu, com::sun::star::awt::XMenuBar, com::sun::star::lang::XTypeProvider, com::sun::star::lang::XServiceInfo>(com::sun::star::uno::Type const&, com::sun::star::awt::XMenu*, com::sun::star::awt::XMenuBar*, com::sun::star::lang::XTypeProvider*, com::sun::star::lang::XServiceInfo*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XServiceInfo, com::sun::star::lang::XInitialization, com::sun::star::frame::XDispatchProvider, com::sun::star::frame::XDispatch>(com::sun::star::uno::Type const&, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XInitialization*, com::sun::star::frame::XDispatchProvider*, com::sun::star::frame::XDispatch*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::io::XStream, com::sun::star::embed::XExtendedStorageStream, com::sun::star::lang::XComponent>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::io::XStream*, com::sun::star::embed::XExtendedStorageStream*, com::sun::star::lang::XComponent*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XParallelTimeContainer, com::sun::star::animations::XTimeContainer, com::sun::star::container::XEnumerationAccess, com::sun::star::container::XElementAccess>(com::sun::star::uno::Type const&, com::sun::star::animations::XParallelTimeContainer*, com::sun::star::animations::XTimeContainer*, com::sun::star::container::XEnumerationAccess*, com::sun::star::container::XElementAccess*)
Line
Count
Source
115
102k
{
116
102k
    if (rType == Interface1::static_type())
117
24.3k
        return css::uno::Any( &p1, rType );
118
78.2k
    else if (rType == Interface2::static_type())
119
23.3k
        return css::uno::Any( &p2, rType );
120
54.9k
    else if (rType == Interface3::static_type())
121
34.1k
        return css::uno::Any( &p3, rType );
122
20.7k
    else if (rType == Interface4::static_type())
123
0
        return css::uno::Any( &p4, rType );
124
20.7k
    else
125
20.7k
        return css::uno::Any();
126
102k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::animations::XTimeContainer, com::sun::star::animations::XIterateContainer, com::sun::star::container::XEnumerationAccess, com::sun::star::container::XElementAccess>(com::sun::star::uno::Type const&, com::sun::star::animations::XTimeContainer*, com::sun::star::animations::XIterateContainer*, com::sun::star::container::XEnumerationAccess*, com::sun::star::container::XElementAccess*)
Line
Count
Source
115
13.2k
{
116
13.2k
    if (rType == Interface1::static_type())
117
5.68k
        return css::uno::Any( &p1, rType );
118
7.58k
    else if (rType == Interface2::static_type())
119
3.23k
        return css::uno::Any( &p2, rType );
120
4.35k
    else if (rType == Interface3::static_type())
121
2.98k
        return css::uno::Any( &p3, rType );
122
1.36k
    else if (rType == Interface4::static_type())
123
0
        return css::uno::Any( &p4, rType );
124
1.36k
    else
125
1.36k
        return css::uno::Any();
126
13.2k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XStorageRawAccess, com::sun::star::embed::XEncryptionProtectedSource, com::sun::star::embed::XEncryptionProtectedSource2, com::sun::star::embed::XEncryptionProtectedStorage>(com::sun::star::uno::Type const&, com::sun::star::embed::XStorageRawAccess*, com::sun::star::embed::XEncryptionProtectedSource*, com::sun::star::embed::XEncryptionProtectedSource2*, com::sun::star::embed::XEncryptionProtectedStorage*)
Line
Count
Source
115
123k
{
116
123k
    if (rType == Interface1::static_type())
117
0
        return css::uno::Any( &p1, rType );
118
123k
    else if (rType == Interface2::static_type())
119
0
        return css::uno::Any( &p2, rType );
120
123k
    else if (rType == Interface3::static_type())
121
0
        return css::uno::Any( &p3, rType );
122
123k
    else if (rType == Interface4::static_type())
123
122k
        return css::uno::Any( &p4, rType );
124
261
    else
125
261
        return css::uno::Any();
126
123k
}
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySet, com::sun::star::beans::XMultiPropertySet, com::sun::star::lang::XServiceInfo, com::sun::star::view::XRenderable>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySet*, com::sun::star::beans::XMultiPropertySet*, com::sun::star::lang::XServiceInfo*, com::sun::star::view::XRenderable*)
Line
Count
Source
115
127k
{
116
127k
    if (rType == Interface1::static_type())
117
95
        return css::uno::Any( &p1, rType );
118
126k
    else if (rType == Interface2::static_type())
119
0
        return css::uno::Any( &p2, rType );
120
126k
    else if (rType == Interface3::static_type())
121
0
        return css::uno::Any( &p3, rType );
122
126k
    else if (rType == Interface4::static_type())
123
0
        return css::uno::Any( &p4, rType );
124
126k
    else
125
126k
        return css::uno::Any();
126
127k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XSingleServiceFactory, com::sun::star::container::XNameContainer, com::sun::star::container::XNameReplace, com::sun::star::util::XChangesBatch>(com::sun::star::uno::Type const&, com::sun::star::lang::XSingleServiceFactory*, com::sun::star::container::XNameContainer*, com::sun::star::container::XNameReplace*, com::sun::star::util::XChangesBatch*)
127
/** Compares demanded type to given template argument types.
128
129
    @tparam Interface1 interface type
130
    @tparam Interface2 interface type
131
    @tparam Interface3 interface type
132
    @tparam Interface4 interface type
133
    @tparam Interface5 interface type
134
    @param rType demanded type
135
    @param p1 interface pointer
136
    @param p2 interface pointer
137
    @param p3 interface pointer
138
    @param p4 interface pointer
139
    @param p5 interface pointer
140
    @return acquired interface of demanded type or empty Any
141
*/
142
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5 >
143
inline css::uno::Any SAL_CALL queryInterface(
144
    const css::uno::Type & rType,
145
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5 )
146
1.51M
{
147
1.51M
    if (rType == Interface1::static_type())
148
100k
        return css::uno::Any( &p1, rType );
149
1.41M
    else if (rType == Interface2::static_type())
150
12.1k
        return css::uno::Any( &p2, rType );
151
1.40M
    else if (rType == Interface3::static_type())
152
132k
        return css::uno::Any( &p3, rType );
153
1.26M
    else if (rType == Interface4::static_type())
154
758
        return css::uno::Any( &p4, rType );
155
1.26M
    else if (rType == Interface5::static_type())
156
47.3k
        return css::uno::Any( &p5, rType );
157
1.22M
    else
158
1.22M
        return css::uno::Any();
159
1.51M
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XComponent, com::sun::star::frame::XFrameActionListener, com::sun::star::frame::XStatusListener, com::sun::star::lang::XEventListener, com::sun::star::lang::XEventListener>(com::sun::star::uno::Type const&, com::sun::star::lang::XComponent*, com::sun::star::frame::XFrameActionListener*, com::sun::star::frame::XStatusListener*, com::sun::star::lang::XEventListener*, com::sun::star::lang::XEventListener*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySet, com::sun::star::sdbc::XWarningsSupplier, com::sun::star::sdbc::XCloseable, com::sun::star::sdbc::XMultipleResults, com::sun::star::util::XCancellable>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySet*, com::sun::star::sdbc::XWarningsSupplier*, com::sun::star::sdbc::XCloseable*, com::sun::star::sdbc::XMultipleResults*, com::sun::star::util::XCancellable*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::frame::XStatusListener, com::sun::star::frame::XToolbarController, com::sun::star::lang::XInitialization, com::sun::star::lang::XComponent, com::sun::star::util::XUpdatable>(com::sun::star::uno::Type const&, com::sun::star::frame::XStatusListener*, com::sun::star::frame::XToolbarController*, com::sun::star::lang::XInitialization*, com::sun::star::lang::XComponent*, com::sun::star::util::XUpdatable*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::io::XInputStream, com::sun::star::io::XStream, com::sun::star::lang::XComponent, com::sun::star::beans::XPropertySet, com::sun::star::embed::XExtendedStorageStream>(com::sun::star::uno::Type const&, com::sun::star::io::XInputStream*, com::sun::star::io::XStream*, com::sun::star::lang::XComponent*, com::sun::star::beans::XPropertySet*, com::sun::star::embed::XExtendedStorageStream*)
Line
Count
Source
146
1.51M
{
147
1.51M
    if (rType == Interface1::static_type())
148
100k
        return css::uno::Any( &p1, rType );
149
1.41M
    else if (rType == Interface2::static_type())
150
12.1k
        return css::uno::Any( &p2, rType );
151
1.40M
    else if (rType == Interface3::static_type())
152
132k
        return css::uno::Any( &p3, rType );
153
1.26M
    else if (rType == Interface4::static_type())
154
758
        return css::uno::Any( &p4, rType );
155
1.26M
    else if (rType == Interface5::static_type())
156
47.3k
        return css::uno::Any( &p5, rType );
157
1.22M
    else
158
1.22M
        return css::uno::Any();
159
1.51M
}
160
/** Compares demanded type to given template argument types.
161
162
    @tparam Interface1 interface type
163
    @tparam Interface2 interface type
164
    @tparam Interface3 interface type
165
    @tparam Interface4 interface type
166
    @tparam Interface5 interface type
167
    @tparam Interface6 interface type
168
    @param rType demanded type
169
    @param p1 interface pointer
170
    @param p2 interface pointer
171
    @param p3 interface pointer
172
    @param p4 interface pointer
173
    @param p5 interface pointer
174
    @param p6 interface pointer
175
    @return acquired interface of demanded type or empty Any
176
*/
177
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
178
          class Interface6 >
179
inline css::uno::Any SAL_CALL queryInterface(
180
    const css::uno::Type & rType,
181
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
182
    Interface6 * p6 )
183
0
{
184
0
    if (rType == Interface1::static_type())
185
0
        return css::uno::Any( &p1, rType );
186
0
    else if (rType == Interface2::static_type())
187
0
        return css::uno::Any( &p2, rType );
188
0
    else if (rType == Interface3::static_type())
189
0
        return css::uno::Any( &p3, rType );
190
0
    else if (rType == Interface4::static_type())
191
0
        return css::uno::Any( &p4, rType );
192
0
    else if (rType == Interface5::static_type())
193
0
        return css::uno::Any( &p5, rType );
194
0
    else if (rType == Interface6::static_type())
195
0
        return css::uno::Any( &p6, rType );
196
0
    else
197
0
        return css::uno::Any();
198
0
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::sheet::XViewPane, com::sun::star::sheet::XCellRangeReferrer, com::sun::star::view::XFormLayerAccess, com::sun::star::view::XControlAccess, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XTypeProvider>(com::sun::star::uno::Type const&, com::sun::star::sheet::XViewPane*, com::sun::star::sheet::XCellRangeReferrer*, com::sun::star::view::XFormLayerAccess*, com::sun::star::view::XControlAccess*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XTypeProvider*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::frame::XStatusbarController, com::sun::star::frame::XStatusListener, com::sun::star::lang::XEventListener, com::sun::star::lang::XInitialization, com::sun::star::lang::XComponent, com::sun::star::util::XUpdatable>(com::sun::star::uno::Type const&, com::sun::star::frame::XStatusbarController*, com::sun::star::frame::XStatusListener*, com::sun::star::lang::XEventListener*, com::sun::star::lang::XInitialization*, com::sun::star::lang::XComponent*, com::sun::star::util::XUpdatable*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XPropertySetInfo, com::sun::star::beans::XPropertySet, com::sun::star::beans::XMultiPropertySet, com::sun::star::beans::XHierarchicalPropertySet, com::sun::star::beans::XMultiHierarchicalPropertySet, com::sun::star::beans::XHierarchicalPropertySetInfo>(com::sun::star::uno::Type const&, com::sun::star::beans::XPropertySetInfo*, com::sun::star::beans::XPropertySet*, com::sun::star::beans::XMultiPropertySet*, com::sun::star::beans::XHierarchicalPropertySet*, com::sun::star::beans::XMultiHierarchicalPropertySet*, com::sun::star::beans::XHierarchicalPropertySetInfo*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::beans::XIntrospectionAccess, com::sun::star::beans::XMaterialHolder, com::sun::star::beans::XExactName, com::sun::star::beans::XPropertySet, com::sun::star::beans::XFastPropertySet, com::sun::star::beans::XPropertySetInfo>(com::sun::star::uno::Type const&, com::sun::star::beans::XIntrospectionAccess*, com::sun::star::beans::XMaterialHolder*, com::sun::star::beans::XExactName*, com::sun::star::beans::XPropertySet*, com::sun::star::beans::XFastPropertySet*, com::sun::star::beans::XPropertySetInfo*)
199
/** Compares demanded type to given template argument types.
200
201
    @tparam Interface1 interface type
202
    @tparam Interface2 interface type
203
    @tparam Interface3 interface type
204
    @tparam Interface4 interface type
205
    @tparam Interface5 interface type
206
    @tparam Interface6 interface type
207
    @tparam Interface7 interface type
208
    @param rType demanded type
209
    @param p1 interface pointer
210
    @param p2 interface pointer
211
    @param p3 interface pointer
212
    @param p4 interface pointer
213
    @param p5 interface pointer
214
    @param p6 interface pointer
215
    @param p7 interface pointer
216
    @return acquired interface of demanded type or empty Any
217
*/
218
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
219
          class Interface6, class Interface7 >
220
inline css::uno::Any SAL_CALL queryInterface(
221
    const css::uno::Type & rType,
222
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
223
    Interface6 * p6, Interface7 * p7 )
224
1.07k
{
225
1.07k
    if (rType == Interface1::static_type())
226
0
        return css::uno::Any( &p1, rType );
227
1.07k
    else if (rType == Interface2::static_type())
228
0
        return css::uno::Any( &p2, rType );
229
1.07k
    else if (rType == Interface3::static_type())
230
1.07k
        return css::uno::Any( &p3, rType );
231
0
    else if (rType == Interface4::static_type())
232
0
        return css::uno::Any( &p4, rType );
233
0
    else if (rType == Interface5::static_type())
234
0
        return css::uno::Any( &p5, rType );
235
0
    else if (rType == Interface6::static_type())
236
0
        return css::uno::Any( &p6, rType );
237
0
    else if (rType == Interface7::static_type())
238
0
        return css::uno::Any( &p7, rType );
239
0
    else
240
0
        return css::uno::Any();
241
1.07k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XServiceInfo, com::sun::star::sdbc::XParameters, com::sun::star::sdbcx::XColumnsSupplier, com::sun::star::sdbc::XResultSetMetaDataSupplier, com::sun::star::sdbc::XPreparedBatchExecution, com::sun::star::sdbc::XMultipleResults, com::sun::star::sdbc::XPreparedStatement>(com::sun::star::uno::Type const&, com::sun::star::lang::XServiceInfo*, com::sun::star::sdbc::XParameters*, com::sun::star::sdbcx::XColumnsSupplier*, com::sun::star::sdbc::XResultSetMetaDataSupplier*, com::sun::star::sdbc::XPreparedBatchExecution*, com::sun::star::sdbc::XMultipleResults*, com::sun::star::sdbc::XPreparedStatement*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::embed::XStorage, com::sun::star::embed::XHierarchicalStorageAccess, com::sun::star::container::XNameAccess, com::sun::star::container::XElementAccess, com::sun::star::lang::XComponent, com::sun::star::beans::XPropertySet>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::embed::XStorage*, com::sun::star::embed::XHierarchicalStorageAccess*, com::sun::star::container::XNameAccess*, com::sun::star::container::XElementAccess*, com::sun::star::lang::XComponent*, com::sun::star::beans::XPropertySet*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::beans::XPropertySet, com::sun::star::beans::XMultiPropertySet, com::sun::star::beans::XFastPropertySet, com::sun::star::beans::XPropertyState, com::sun::star::beans::XMultiPropertyStates, com::sun::star::style::XStyleSupplier>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::beans::XPropertySet*, com::sun::star::beans::XMultiPropertySet*, com::sun::star::beans::XFastPropertySet*, com::sun::star::beans::XPropertyState*, com::sun::star::beans::XMultiPropertyStates*, com::sun::star::style::XStyleSupplier*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XComponent, com::sun::star::container::XHierarchicalNameAccess, com::sun::star::container::XNameAccess, com::sun::star::container::XElementAccess, com::sun::star::util::XChangesNotifier>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XComponent*, com::sun::star::container::XHierarchicalNameAccess*, com::sun::star::container::XNameAccess*, com::sun::star::container::XElementAccess*, com::sun::star::util::XChangesNotifier*)
com::sun::star::uno::Any cppu::queryInterface<com::sun::star::uno::XInterface, com::sun::star::uno::XWeak, com::sun::star::beans::XPropertySet, com::sun::star::beans::XPropertyState, com::sun::star::beans::XMultiPropertySet, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XTypeProvider>(com::sun::star::uno::Type const&, com::sun::star::uno::XInterface*, com::sun::star::uno::XWeak*, com::sun::star::beans::XPropertySet*, com::sun::star::beans::XPropertyState*, com::sun::star::beans::XMultiPropertySet*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XTypeProvider*)
Line
Count
Source
224
1.07k
{
225
1.07k
    if (rType == Interface1::static_type())
226
0
        return css::uno::Any( &p1, rType );
227
1.07k
    else if (rType == Interface2::static_type())
228
0
        return css::uno::Any( &p2, rType );
229
1.07k
    else if (rType == Interface3::static_type())
230
1.07k
        return css::uno::Any( &p3, rType );
231
0
    else if (rType == Interface4::static_type())
232
0
        return css::uno::Any( &p4, rType );
233
0
    else if (rType == Interface5::static_type())
234
0
        return css::uno::Any( &p5, rType );
235
0
    else if (rType == Interface6::static_type())
236
0
        return css::uno::Any( &p6, rType );
237
0
    else if (rType == Interface7::static_type())
238
0
        return css::uno::Any( &p7, rType );
239
0
    else
240
0
        return css::uno::Any();
241
1.07k
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::accessibility::XAccessibleComponent, com::sun::star::accessibility::XAccessibleSelection, com::sun::star::lang::XEventListener, com::sun::star::beans::XPropertyChangeListener, com::sun::star::awt::XWindowListener, com::sun::star::awt::XFocusListener, com::sun::star::accessibility::XAccessibleExtendedAttributes>(com::sun::star::uno::Type const&, com::sun::star::accessibility::XAccessibleComponent*, com::sun::star::accessibility::XAccessibleSelection*, com::sun::star::lang::XEventListener*, com::sun::star::beans::XPropertyChangeListener*, com::sun::star::awt::XWindowListener*, com::sun::star::awt::XFocusListener*, com::sun::star::accessibility::XAccessibleExtendedAttributes*)
242
/** Compares demanded type to given template argument types.
243
244
    @tparam Interface1 interface type
245
    @tparam Interface2 interface type
246
    @tparam Interface3 interface type
247
    @tparam Interface4 interface type
248
    @tparam Interface5 interface type
249
    @tparam Interface6 interface type
250
    @tparam Interface7 interface type
251
    @tparam Interface8 interface type
252
    @param rType demanded type
253
    @param p1 interface pointer
254
    @param p2 interface pointer
255
    @param p3 interface pointer
256
    @param p4 interface pointer
257
    @param p5 interface pointer
258
    @param p6 interface pointer
259
    @param p7 interface pointer
260
    @param p8 interface pointer
261
    @return acquired interface of demanded type or empty Any
262
*/
263
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
264
          class Interface6, class Interface7, class Interface8 >
265
inline css::uno::Any SAL_CALL queryInterface(
266
    const css::uno::Type & rType,
267
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
268
    Interface6 * p6, Interface7 * p7, Interface8 * p8 )
269
294k
{
270
294k
    if (rType == Interface1::static_type())
271
0
        return css::uno::Any( &p1, rType );
272
294k
    else if (rType == Interface2::static_type())
273
0
        return css::uno::Any( &p2, rType );
274
294k
    else if (rType == Interface3::static_type())
275
0
        return css::uno::Any( &p3, rType );
276
294k
    else if (rType == Interface4::static_type())
277
28
        return css::uno::Any( &p4, rType );
278
294k
    else if (rType == Interface5::static_type())
279
62.2k
        return css::uno::Any( &p5, rType );
280
232k
    else if (rType == Interface6::static_type())
281
56.5k
        return css::uno::Any( &p6, rType );
282
176k
    else if (rType == Interface7::static_type())
283
11
        return css::uno::Any( &p7, rType );
284
176k
    else if (rType == Interface8::static_type())
285
6.04k
        return css::uno::Any( &p8, rType );
286
170k
    else
287
170k
        return css::uno::Any();
288
294k
}
289
/** Compares demanded type to given template argument types.
290
291
    @tparam Interface1 interface type
292
    @tparam Interface2 interface type
293
    @tparam Interface3 interface type
294
    @tparam Interface4 interface type
295
    @tparam Interface5 interface type
296
    @tparam Interface6 interface type
297
    @tparam Interface7 interface type
298
    @tparam Interface8 interface type
299
    @tparam Interface9 interface type
300
    @param rType demanded type
301
    @param p1 interface pointer
302
    @param p2 interface pointer
303
    @param p3 interface pointer
304
    @param p4 interface pointer
305
    @param p5 interface pointer
306
    @param p6 interface pointer
307
    @param p7 interface pointer
308
    @param p8 interface pointer
309
    @param p9 interface pointer
310
    @return acquired interface of demanded type or empty Any
311
*/
312
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
313
          class Interface6, class Interface7, class Interface8, class Interface9 >
314
inline css::uno::Any SAL_CALL queryInterface(
315
    const css::uno::Type & rType,
316
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
317
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9 )
318
515
{
319
515
    if (rType == Interface1::static_type())
320
0
        return css::uno::Any( &p1, rType );
321
515
    else if (rType == Interface2::static_type())
322
0
        return css::uno::Any( &p2, rType );
323
515
    else if (rType == Interface3::static_type())
324
0
        return css::uno::Any( &p3, rType );
325
515
    else if (rType == Interface4::static_type())
326
0
        return css::uno::Any( &p4, rType );
327
515
    else if (rType == Interface5::static_type())
328
0
        return css::uno::Any( &p5, rType );
329
515
    else if (rType == Interface6::static_type())
330
270
        return css::uno::Any( &p6, rType );
331
245
    else if (rType == Interface7::static_type())
332
0
        return css::uno::Any( &p7, rType );
333
245
    else if (rType == Interface8::static_type())
334
38
        return css::uno::Any( &p8, rType );
335
207
    else if (rType == Interface9::static_type())
336
207
        return css::uno::Any( &p9, rType );
337
0
    else
338
0
        return css::uno::Any();
339
515
}
340
/** Compares demanded type to given template argument types.
341
342
    @tparam Interface1 interface type
343
    @tparam Interface2 interface type
344
    @tparam Interface3 interface type
345
    @tparam Interface4 interface type
346
    @tparam Interface5 interface type
347
    @tparam Interface6 interface type
348
    @tparam Interface7 interface type
349
    @tparam Interface8 interface type
350
    @tparam Interface9 interface type
351
    @tparam Interface10 interface type
352
    @param rType demanded type
353
    @param p1 interface pointer
354
    @param p2 interface pointer
355
    @param p3 interface pointer
356
    @param p4 interface pointer
357
    @param p5 interface pointer
358
    @param p6 interface pointer
359
    @param p7 interface pointer
360
    @param p8 interface pointer
361
    @param p9 interface pointer
362
    @param p10 interface pointer
363
    @return acquired interface of demanded type or empty Any
364
*/
365
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
366
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10 >
367
inline css::uno::Any SAL_CALL queryInterface(
368
    const css::uno::Type & rType,
369
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
370
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10 )
371
0
{
372
0
    if (rType == Interface1::static_type())
373
0
        return css::uno::Any( &p1, rType );
374
0
    else if (rType == Interface2::static_type())
375
0
        return css::uno::Any( &p2, rType );
376
0
    else if (rType == Interface3::static_type())
377
0
        return css::uno::Any( &p3, rType );
378
0
    else if (rType == Interface4::static_type())
379
0
        return css::uno::Any( &p4, rType );
380
0
    else if (rType == Interface5::static_type())
381
0
        return css::uno::Any( &p5, rType );
382
0
    else if (rType == Interface6::static_type())
383
0
        return css::uno::Any( &p6, rType );
384
0
    else if (rType == Interface7::static_type())
385
0
        return css::uno::Any( &p7, rType );
386
0
    else if (rType == Interface8::static_type())
387
0
        return css::uno::Any( &p8, rType );
388
0
    else if (rType == Interface9::static_type())
389
0
        return css::uno::Any( &p9, rType );
390
0
    else if (rType == Interface10::static_type())
391
0
        return css::uno::Any( &p10, rType );
392
0
    else
393
0
        return css::uno::Any();
394
0
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XEmbeddedObject, com::sun::star::embed::XInplaceObject, com::sun::star::embed::XCommonEmbedPersist, com::sun::star::embed::XVisualObject, com::sun::star::embed::XClassifiedObject, com::sun::star::embed::XComponentSupplier, com::sun::star::util::XCloseable, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XTypeProvider, com::sun::star::document::XEventBroadcaster>(com::sun::star::uno::Type const&, com::sun::star::embed::XEmbeddedObject*, com::sun::star::embed::XInplaceObject*, com::sun::star::embed::XCommonEmbedPersist*, com::sun::star::embed::XVisualObject*, com::sun::star::embed::XClassifiedObject*, com::sun::star::embed::XComponentSupplier*, com::sun::star::util::XCloseable*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XTypeProvider*, com::sun::star::document::XEventBroadcaster*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XComponent, com::sun::star::ucb::XContent, com::sun::star::ucb::XCommandProcessor, com::sun::star::beans::XPropertiesChangeNotifier, com::sun::star::ucb::XCommandInfoChangeNotifier, com::sun::star::beans::XPropertyContainer, com::sun::star::beans::XPropertySetInfoChangeNotifier, com::sun::star::container::XChild>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XComponent*, com::sun::star::ucb::XContent*, com::sun::star::ucb::XCommandProcessor*, com::sun::star::beans::XPropertiesChangeNotifier*, com::sun::star::ucb::XCommandInfoChangeNotifier*, com::sun::star::beans::XPropertyContainer*, com::sun::star::beans::XPropertySetInfoChangeNotifier*, com::sun::star::container::XChild*)
395
/** Compares demanded type to given template argument types.
396
397
    @tparam Interface1 interface type
398
    @tparam Interface2 interface type
399
    @tparam Interface3 interface type
400
    @tparam Interface4 interface type
401
    @tparam Interface5 interface type
402
    @tparam Interface6 interface type
403
    @tparam Interface7 interface type
404
    @tparam Interface8 interface type
405
    @tparam Interface9 interface type
406
    @tparam Interface10 interface type
407
    @tparam Interface11 interface type
408
    @param rType demanded type
409
    @param p1 interface pointer
410
    @param p2 interface pointer
411
    @param p3 interface pointer
412
    @param p4 interface pointer
413
    @param p5 interface pointer
414
    @param p6 interface pointer
415
    @param p7 interface pointer
416
    @param p8 interface pointer
417
    @param p9 interface pointer
418
    @param p10 interface pointer
419
    @param p11 interface pointer
420
    @return acquired interface of demanded type or empty Any
421
*/
422
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
423
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
424
          class Interface11 >
425
inline css::uno::Any SAL_CALL queryInterface(
426
    const css::uno::Type & rType,
427
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
428
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
429
    Interface11 * p11 )
430
1.01M
{
431
1.01M
    if (rType == Interface1::static_type())
432
0
        return css::uno::Any( &p1, rType );
433
1.01M
    else if (rType == Interface2::static_type())
434
181k
        return css::uno::Any( &p2, rType );
435
834k
    else if (rType == Interface3::static_type())
436
0
        return css::uno::Any( &p3, rType );
437
834k
    else if (rType == Interface4::static_type())
438
0
        return css::uno::Any( &p4, rType );
439
834k
    else if (rType == Interface5::static_type())
440
0
        return css::uno::Any( &p5, rType );
441
834k
    else if (rType == Interface6::static_type())
442
0
        return css::uno::Any( &p6, rType );
443
834k
    else if (rType == Interface7::static_type())
444
1.28k
        return css::uno::Any( &p7, rType );
445
833k
    else if (rType == Interface8::static_type())
446
0
        return css::uno::Any( &p8, rType );
447
833k
    else if (rType == Interface9::static_type())
448
140k
        return css::uno::Any( &p9, rType );
449
693k
    else if (rType == Interface10::static_type())
450
237k
        return css::uno::Any( &p10, rType );
451
455k
    else if (rType == Interface11::static_type())
452
0
        return css::uno::Any( &p11, rType );
453
455k
    else
454
455k
        return css::uno::Any();
455
1.01M
}
456
/** Compares demanded type to given template argument types.
457
458
    @tparam Interface1 interface type
459
    @tparam Interface2 interface type
460
    @tparam Interface3 interface type
461
    @tparam Interface4 interface type
462
    @tparam Interface5 interface type
463
    @tparam Interface6 interface type
464
    @tparam Interface7 interface type
465
    @tparam Interface8 interface type
466
    @tparam Interface9 interface type
467
    @tparam Interface10 interface type
468
    @tparam Interface11 interface type
469
    @tparam Interface12 interface type
470
    @param rType demanded type
471
    @param p1 interface pointer
472
    @param p2 interface pointer
473
    @param p3 interface pointer
474
    @param p4 interface pointer
475
    @param p5 interface pointer
476
    @param p6 interface pointer
477
    @param p7 interface pointer
478
    @param p8 interface pointer
479
    @param p9 interface pointer
480
    @param p10 interface pointer
481
    @param p11 interface pointer
482
    @param p12 interface pointer
483
    @return acquired interface of demanded type or empty Any
484
*/
485
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
486
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
487
          class Interface11, class Interface12 >
488
inline css::uno::Any SAL_CALL queryInterface(
489
    const css::uno::Type & rType,
490
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
491
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
492
    Interface11 * p11, Interface12 * p12 )
493
0
{
494
0
    if (rType == Interface1::static_type())
495
0
        return css::uno::Any( &p1, rType );
496
0
    else if (rType == Interface2::static_type())
497
0
        return css::uno::Any( &p2, rType );
498
0
    else if (rType == Interface3::static_type())
499
0
        return css::uno::Any( &p3, rType );
500
0
    else if (rType == Interface4::static_type())
501
0
        return css::uno::Any( &p4, rType );
502
0
    else if (rType == Interface5::static_type())
503
0
        return css::uno::Any( &p5, rType );
504
0
    else if (rType == Interface6::static_type())
505
0
        return css::uno::Any( &p6, rType );
506
0
    else if (rType == Interface7::static_type())
507
0
        return css::uno::Any( &p7, rType );
508
0
    else if (rType == Interface8::static_type())
509
0
        return css::uno::Any( &p8, rType );
510
0
    else if (rType == Interface9::static_type())
511
0
        return css::uno::Any( &p9, rType );
512
0
    else if (rType == Interface10::static_type())
513
0
        return css::uno::Any( &p10, rType );
514
0
    else if (rType == Interface11::static_type())
515
0
        return css::uno::Any( &p11, rType );
516
0
    else if (rType == Interface12::static_type())
517
0
        return css::uno::Any( &p12, rType );
518
0
    else
519
0
        return css::uno::Any();
520
0
}
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::lang::XTypeProvider, com::sun::star::lang::XServiceInfo, com::sun::star::lang::XComponent, com::sun::star::container::XHierarchicalNameAccess, com::sun::star::configuration::XDocumentation, com::sun::star::container::XContainer, com::sun::star::beans::XExactName, com::sun::star::container::XHierarchicalName, com::sun::star::container::XNamed, com::sun::star::beans::XProperty, com::sun::star::container::XElementAccess, com::sun::star::container::XNameAccess>(com::sun::star::uno::Type const&, com::sun::star::lang::XTypeProvider*, com::sun::star::lang::XServiceInfo*, com::sun::star::lang::XComponent*, com::sun::star::container::XHierarchicalNameAccess*, com::sun::star::configuration::XDocumentation*, com::sun::star::container::XContainer*, com::sun::star::beans::XExactName*, com::sun::star::container::XHierarchicalName*, com::sun::star::container::XNamed*, com::sun::star::beans::XProperty*, com::sun::star::container::XElementAccess*, com::sun::star::container::XNameAccess*)
Unexecuted instantiation: com::sun::star::uno::Any cppu::queryInterface<com::sun::star::embed::XInplaceObject, com::sun::star::embed::XVisualObject, com::sun::star::embed::XCommonEmbedPersist, com::sun::star::embed::XEmbedPersist, com::sun::star::embed::XLinkageSupport, com::sun::star::embed::XStateChangeBroadcaster, com::sun::star::embed::XClassifiedObject, com::sun::star::embed::XComponentSupplier, com::sun::star::util::XCloseable, com::sun::star::container::XChild, com::sun::star::chart2::XDefaultSizeTransmitter, com::sun::star::document::XEventBroadcaster>(com::sun::star::uno::Type const&, com::sun::star::embed::XInplaceObject*, com::sun::star::embed::XVisualObject*, com::sun::star::embed::XCommonEmbedPersist*, com::sun::star::embed::XEmbedPersist*, com::sun::star::embed::XLinkageSupport*, com::sun::star::embed::XStateChangeBroadcaster*, com::sun::star::embed::XClassifiedObject*, com::sun::star::embed::XComponentSupplier*, com::sun::star::util::XCloseable*, com::sun::star::container::XChild*, com::sun::star::chart2::XDefaultSizeTransmitter*, com::sun::star::document::XEventBroadcaster*)
521
522
/** Compares demanded type to given template argument types.
523
    @return acquired interface of demanded type or empty Any
524
*/
525
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
526
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
527
          class Interface11, class Interface12, class Interface13 >
528
inline css::uno::Any SAL_CALL queryInterface(
529
    const css::uno::Type & rType,
530
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
531
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
532
    Interface11 * p11, Interface12 * p12, Interface13 * p13 )
533
{
534
    if (rType == Interface1::static_type())
535
        return css::uno::Any( &p1, rType );
536
    else if (rType == Interface2::static_type())
537
        return css::uno::Any( &p2, rType );
538
    else if (rType == Interface3::static_type())
539
        return css::uno::Any( &p3, rType );
540
    else if (rType == Interface4::static_type())
541
        return css::uno::Any( &p4, rType );
542
    else if (rType == Interface5::static_type())
543
        return css::uno::Any( &p5, rType );
544
    else if (rType == Interface6::static_type())
545
        return css::uno::Any( &p6, rType );
546
    else if (rType == Interface7::static_type())
547
        return css::uno::Any( &p7, rType );
548
    else if (rType == Interface8::static_type())
549
        return css::uno::Any( &p8, rType );
550
    else if (rType == Interface9::static_type())
551
        return css::uno::Any( &p9, rType );
552
    else if (rType == Interface10::static_type())
553
        return css::uno::Any( &p10, rType );
554
    else if (rType == Interface11::static_type())
555
        return css::uno::Any( &p11, rType );
556
    else if (rType == Interface12::static_type())
557
        return css::uno::Any( &p12, rType );
558
    else if (rType == Interface13::static_type())
559
        return css::uno::Any( &p13, rType );
560
    else
561
        return css::uno::Any();
562
}
563
564
/** Compares demanded type to given template argument types.
565
    @return acquired interface of demanded type or empty Any
566
*/
567
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
568
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
569
          class Interface11, class Interface12, class Interface13, class Interface14 >
570
inline css::uno::Any SAL_CALL queryInterface(
571
    const css::uno::Type & rType,
572
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
573
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
574
    Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14 )
575
0
{
576
0
    if (rType == Interface1::static_type())
577
0
        return css::uno::Any( &p1, rType );
578
0
    else if (rType == Interface2::static_type())
579
0
        return css::uno::Any( &p2, rType );
580
0
    else if (rType == Interface3::static_type())
581
0
        return css::uno::Any( &p3, rType );
582
0
    else if (rType == Interface4::static_type())
583
0
        return css::uno::Any( &p4, rType );
584
0
    else if (rType == Interface5::static_type())
585
0
        return css::uno::Any( &p5, rType );
586
0
    else if (rType == Interface6::static_type())
587
0
        return css::uno::Any( &p6, rType );
588
0
    else if (rType == Interface7::static_type())
589
0
        return css::uno::Any( &p7, rType );
590
0
    else if (rType == Interface8::static_type())
591
0
        return css::uno::Any( &p8, rType );
592
0
    else if (rType == Interface9::static_type())
593
0
        return css::uno::Any( &p9, rType );
594
0
    else if (rType == Interface10::static_type())
595
0
        return css::uno::Any( &p10, rType );
596
0
    else if (rType == Interface11::static_type())
597
0
        return css::uno::Any( &p11, rType );
598
0
    else if (rType == Interface12::static_type())
599
0
        return css::uno::Any( &p12, rType );
600
0
    else if (rType == Interface13::static_type())
601
0
        return css::uno::Any( &p13, rType );
602
0
    else if (rType == Interface14::static_type())
603
0
        return css::uno::Any( &p14, rType );
604
0
    else
605
0
        return css::uno::Any();
606
0
}
607
608
/** Compares demanded type to given template argument types.
609
    @return acquired interface of demanded type or empty Any
610
*/
611
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
612
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
613
          class Interface11, class Interface12, class Interface13, class Interface14, class Interface15,
614
          class Interface16, class Interface17 >
615
inline css::uno::Any SAL_CALL queryInterface(
616
    const css::uno::Type & rType,
617
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
618
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
619
    Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14, Interface15 * p15,
620
    Interface16 * p16, Interface17 * p17 )
621
889k
{
622
889k
    if (rType == Interface1::static_type())
623
4.02k
        return css::uno::Any( &p1, rType );
624
885k
    else if (rType == Interface2::static_type())
625
37.5k
        return css::uno::Any( &p2, rType );
626
848k
    else if (rType == Interface3::static_type())
627
0
        return css::uno::Any( &p3, rType );
628
848k
    else if (rType == Interface4::static_type())
629
0
        return css::uno::Any( &p4, rType );
630
848k
    else if (rType == Interface5::static_type())
631
0
        return css::uno::Any( &p5, rType );
632
848k
    else if (rType == Interface6::static_type())
633
0
        return css::uno::Any( &p6, rType );
634
848k
    else if (rType == Interface7::static_type())
635
0
        return css::uno::Any( &p7, rType );
636
848k
    else if (rType == Interface8::static_type())
637
0
        return css::uno::Any( &p8, rType );
638
848k
    else if (rType == Interface9::static_type())
639
9.21k
        return css::uno::Any( &p9, rType );
640
839k
    else if (rType == Interface10::static_type())
641
0
        return css::uno::Any( &p10, rType );
642
839k
    else if (rType == Interface11::static_type())
643
0
        return css::uno::Any( &p11, rType );
644
839k
    else if (rType == Interface12::static_type())
645
27.0k
        return css::uno::Any( &p12, rType );
646
812k
    else if (rType == Interface13::static_type())
647
141k
        return css::uno::Any( &p13, rType );
648
671k
    else if (rType == Interface14::static_type())
649
2.99k
        return css::uno::Any( &p14, rType );
650
668k
    else if (rType == Interface15::static_type())
651
0
        return css::uno::Any( &p15, rType );
652
668k
    else if (rType == Interface16::static_type())
653
0
        return css::uno::Any( &p16, rType );
654
668k
    else if (rType == Interface17::static_type())
655
0
        return css::uno::Any( &p17, rType );
656
668k
    else
657
668k
        return css::uno::Any();
658
889k
}
659
660
/** Compares demanded type to given template argument types.
661
    @return acquired interface of demanded type or empty Any
662
*/
663
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
664
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
665
          class Interface11, class Interface12, class Interface13, class Interface14, class Interface15,
666
          class Interface16, class Interface17, class Interface18 >
667
inline css::uno::Any SAL_CALL queryInterface(
668
    const css::uno::Type & rType,
669
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
670
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
671
    Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14, Interface15 * p15,
672
    Interface16 * p16, Interface17 * p17, Interface18 * p18 )
673
{
674
    if (rType == Interface1::static_type())
675
        return css::uno::Any( &p1, rType );
676
    else if (rType == Interface2::static_type())
677
        return css::uno::Any( &p2, rType );
678
    else if (rType == Interface3::static_type())
679
        return css::uno::Any( &p3, rType );
680
    else if (rType == Interface4::static_type())
681
        return css::uno::Any( &p4, rType );
682
    else if (rType == Interface5::static_type())
683
        return css::uno::Any( &p5, rType );
684
    else if (rType == Interface6::static_type())
685
        return css::uno::Any( &p6, rType );
686
    else if (rType == Interface7::static_type())
687
        return css::uno::Any( &p7, rType );
688
    else if (rType == Interface8::static_type())
689
        return css::uno::Any( &p8, rType );
690
    else if (rType == Interface9::static_type())
691
        return css::uno::Any( &p9, rType );
692
    else if (rType == Interface10::static_type())
693
        return css::uno::Any( &p10, rType );
694
    else if (rType == Interface11::static_type())
695
        return css::uno::Any( &p11, rType );
696
    else if (rType == Interface12::static_type())
697
        return css::uno::Any( &p12, rType );
698
    else if (rType == Interface13::static_type())
699
        return css::uno::Any( &p13, rType );
700
    else if (rType == Interface14::static_type())
701
        return css::uno::Any( &p14, rType );
702
    else if (rType == Interface15::static_type())
703
        return css::uno::Any( &p15, rType );
704
    else if (rType == Interface16::static_type())
705
        return css::uno::Any( &p16, rType );
706
    else if (rType == Interface17::static_type())
707
        return css::uno::Any( &p17, rType );
708
    else if (rType == Interface18::static_type())
709
        return css::uno::Any( &p18, rType );
710
    else
711
        return css::uno::Any();
712
}
713
714
/** Compares demanded type to given template argument types.
715
    @return acquired interface of demanded type or empty Any
716
*/
717
template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
718
          class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
719
          class Interface11, class Interface12, class Interface13, class Interface14, class Interface15,
720
          class Interface16, class Interface17, class Interface18, class Interface19 >
721
inline css::uno::Any SAL_CALL queryInterface(
722
    const css::uno::Type & rType,
723
    Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
724
    Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
725
    Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14, Interface15 * p15,
726
    Interface16 * p16, Interface17 * p17, Interface18 * p18, Interface19 * p19 )
727
{
728
    if (rType == Interface1::static_type())
729
        return css::uno::Any( &p1, rType );
730
    else if (rType == Interface2::static_type())
731
        return css::uno::Any( &p2, rType );
732
    else if (rType == Interface3::static_type())
733
        return css::uno::Any( &p3, rType );
734
    else if (rType == Interface4::static_type())
735
        return css::uno::Any( &p4, rType );
736
    else if (rType == Interface5::static_type())
737
        return css::uno::Any( &p5, rType );
738
    else if (rType == Interface6::static_type())
739
        return css::uno::Any( &p6, rType );
740
    else if (rType == Interface7::static_type())
741
        return css::uno::Any( &p7, rType );
742
    else if (rType == Interface8::static_type())
743
        return css::uno::Any( &p8, rType );
744
    else if (rType == Interface9::static_type())
745
        return css::uno::Any( &p9, rType );
746
    else if (rType == Interface10::static_type())
747
        return css::uno::Any( &p10, rType );
748
    else if (rType == Interface11::static_type())
749
        return css::uno::Any( &p11, rType );
750
    else if (rType == Interface12::static_type())
751
        return css::uno::Any( &p12, rType );
752
    else if (rType == Interface13::static_type())
753
        return css::uno::Any( &p13, rType );
754
    else if (rType == Interface14::static_type())
755
        return css::uno::Any( &p14, rType );
756
    else if (rType == Interface15::static_type())
757
        return css::uno::Any( &p15, rType );
758
    else if (rType == Interface16::static_type())
759
        return css::uno::Any( &p16, rType );
760
    else if (rType == Interface17::static_type())
761
        return css::uno::Any( &p17, rType );
762
    else if (rType == Interface18::static_type())
763
        return css::uno::Any( &p18, rType );
764
    else if (rType == Interface19::static_type())
765
        return css::uno::Any( &p19, rType );
766
    else
767
        return css::uno::Any();
768
}
769
770
}
771
772
#endif
773
774
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */