Coverage Report

Created: 2025-11-16 09:57

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/unoxml/source/dom/entitiesmap.cxx
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
#include "entitiesmap.hxx"
21
22
#include <osl/diagnose.h>
23
24
using namespace css::uno;
25
using namespace css::xml::dom;
26
27
namespace DOM
28
{
29
    CEntitiesMap::CEntitiesMap()
30
0
    {
31
0
    }
32
33
    /**
34
    The number of nodes in this map.
35
    */
36
    sal_Int32 SAL_CALL CEntitiesMap::getLength()
37
0
    {
38
0
        OSL_ENSURE(false,
39
0
            "CEntitiesMap::getLength: not implemented (#i113683#)");
40
0
        return 0;
41
0
    }
42
43
    /**
44
    Retrieves a node specified by local name
45
    */
46
    Reference< XNode > SAL_CALL
47
    CEntitiesMap::getNamedItem(OUString const& /*name*/)
48
0
    {
49
0
        OSL_ENSURE(false,
50
0
            "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
51
0
        return Reference< XNode >();
52
0
    }
53
54
    /**
55
    Retrieves a node specified by local name and namespace URI.
56
    */
57
    Reference< XNode > SAL_CALL
58
    CEntitiesMap::getNamedItemNS(
59
        OUString const& /*namespaceURI*/, OUString const& /*localName*/)
60
0
    {
61
0
        OSL_ENSURE(false,
62
0
            "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
63
0
        return Reference< XNode >();
64
0
    }
65
66
    /**
67
    Returns the indexth item in the map.
68
    */
69
    Reference< XNode > SAL_CALL
70
    CEntitiesMap::item(sal_Int32 /*index*/)
71
0
    {
72
0
        OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
73
0
        return Reference< XNode >();
74
0
    }
75
76
    /**
77
    Removes a node specified by name.
78
    */
79
    Reference< XNode > SAL_CALL
80
    CEntitiesMap::removeNamedItem(OUString const& /*name*/)
81
0
    {
82
0
        OSL_ENSURE(false,
83
0
            "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
84
0
        return Reference< XNode >();
85
0
    }
86
87
    /**
88
    // Removes a node specified by local name and namespace URI.
89
    */
90
    Reference< XNode > SAL_CALL
91
    CEntitiesMap::removeNamedItemNS(
92
        OUString const& /*namespaceURI*/, OUString const& /*localName*/)
93
0
    {
94
0
        OSL_ENSURE(false,
95
0
            "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
96
0
        return Reference< XNode >();
97
0
    }
98
99
    /**
100
    // Adds a node using its nodeName attribute.
101
    */
102
    Reference< XNode > SAL_CALL
103
    CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
104
0
    {
105
0
        OSL_ENSURE(false,
106
0
            "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
107
0
        return Reference< XNode >();
108
0
    }
109
110
    /**
111
    Adds a node using its namespaceURI and localName.
112
    */
113
    Reference< XNode > SAL_CALL
114
    CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
115
0
    {
116
0
        OSL_ENSURE(false,
117
0
            "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
118
0
        return Reference< XNode >();
119
0
    }
120
}
121
122
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */