Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / configmgr / source / rootnode.cxx
blobce70d688c62cccfb41ea3778e7a26431e3784e06
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #include <sal/config.h>
12 #include <rtl/ref.hxx>
14 #include "data.hxx"
15 #include "node.hxx"
16 #include "rootnode.hxx"
18 namespace configmgr {
20 RootNode::RootNode(): Node(Data::NO_LAYER) {}
22 RootNode::~RootNode() {}
24 Node::Kind RootNode::kind() const {
25 return KIND_ROOT;
28 rtl::Reference< Node > RootNode::clone(bool) const {
29 assert(false); // this cannot happen
30 return rtl::Reference< Node >();
33 NodeMap & RootNode::getMembers() {
34 return members_;
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */