/src/libreoffice/comphelper/source/property/propertycontainer2.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 <comphelper/propertycontainer2.hxx> |
21 | | |
22 | | namespace comphelper |
23 | | { |
24 | | using namespace ::com::sun::star::uno; |
25 | | |
26 | 104k | OPropertyContainer2::OPropertyContainer2() {} |
27 | | |
28 | 104k | OPropertyContainer2::~OPropertyContainer2() {} |
29 | | |
30 | | Sequence<Type> OPropertyContainer2::getBaseTypes() |
31 | 0 | { |
32 | | // just the types from our one and only base class |
33 | 0 | return comphelper::OPropertySetHelper::getTypes(); |
34 | 0 | } |
35 | | |
36 | | bool OPropertyContainer2::convertFastPropertyValue(std::unique_lock<std::mutex>& /*rGuard*/, |
37 | | Any& _rConvertedValue, Any& _rOldValue, |
38 | | sal_Int32 _nHandle, const Any& _rValue) |
39 | 0 | { |
40 | 0 | return OPropertyContainerHelper::convertFastPropertyValue(_rConvertedValue, _rOldValue, |
41 | 0 | _nHandle, _rValue); |
42 | 0 | } |
43 | | |
44 | | void OPropertyContainer2::setFastPropertyValue_NoBroadcast(std::unique_lock<std::mutex>& /*rGuard*/, |
45 | | sal_Int32 _nHandle, const Any& _rValue) |
46 | 0 | { |
47 | 0 | OPropertyContainerHelper::setFastPropertyValue(_nHandle, _rValue); |
48 | 0 | } |
49 | | |
50 | | void OPropertyContainer2::getFastPropertyValue(std::unique_lock<std::mutex>& /*rGuard*/, |
51 | | Any& _rValue, sal_Int32 _nHandle) const |
52 | 0 | { |
53 | 0 | OPropertyContainerHelper::getFastPropertyValue(_rValue, _nHandle); |
54 | 0 | } |
55 | | |
56 | | } // namespace comphelper |
57 | | |
58 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |