Branch data Line data Source code
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 "dlgedlist.hxx"
21 : : #include "dlgedobj.hxx"
22 : :
23 : : //============================================================================
24 : : // DlgEdPropListenerImpl
25 : : //============================================================================
26 : :
27 : : //----------------------------------------------------------------------------
28 : :
29 : 0 : DlgEdPropListenerImpl::DlgEdPropListenerImpl(DlgEdObj* pObj)
30 : 0 : :pDlgEdObj(pObj)
31 : : {
32 : 0 : }
33 : :
34 : : //----------------------------------------------------------------------------
35 : :
36 : 0 : DlgEdPropListenerImpl::~DlgEdPropListenerImpl()
37 : : {
38 : 0 : }
39 : :
40 : : // XEventListener
41 : : //----------------------------------------------------------------------------
42 : :
43 : 0 : void SAL_CALL DlgEdPropListenerImpl::disposing( const ::com::sun::star::lang::EventObject& ) throw( ::com::sun::star::uno::RuntimeException)
44 : : {
45 : 0 : }
46 : :
47 : : // XPropertyChangeListener
48 : : //----------------------------------------------------------------------------
49 : :
50 : 0 : void SAL_CALL DlgEdPropListenerImpl::propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException)
51 : : {
52 : 0 : pDlgEdObj->_propertyChange( evt );
53 : 0 : }
54 : :
55 : : //----------------------------------------------------------------------------
56 : :
57 : : //============================================================================
58 : : // DlgEdEvtContListenerImpl
59 : : //============================================================================
60 : :
61 : : //----------------------------------------------------------------------------
62 : :
63 : 0 : DlgEdEvtContListenerImpl::DlgEdEvtContListenerImpl(DlgEdObj* pObj)
64 : 0 : :pDlgEdObj(pObj)
65 : : {
66 : 0 : }
67 : :
68 : : //----------------------------------------------------------------------------
69 : :
70 : 0 : DlgEdEvtContListenerImpl::~DlgEdEvtContListenerImpl()
71 : : {
72 : 0 : }
73 : :
74 : : // XEventListener
75 : : //----------------------------------------------------------------------------
76 : :
77 : 0 : void SAL_CALL DlgEdEvtContListenerImpl::disposing( const ::com::sun::star::lang::EventObject& ) throw( ::com::sun::star::uno::RuntimeException)
78 : : {
79 : 0 : }
80 : :
81 : : // XContainerListener
82 : : //----------------------------------------------------------------------------
83 : :
84 : 0 : void SAL_CALL DlgEdEvtContListenerImpl::elementInserted(const ::com::sun::star::container::ContainerEvent& Event) throw(::com::sun::star::uno::RuntimeException)
85 : : {
86 : 0 : pDlgEdObj->_elementInserted( Event );
87 : 0 : }
88 : :
89 : : //----------------------------------------------------------------------------
90 : :
91 : 0 : void SAL_CALL DlgEdEvtContListenerImpl::elementReplaced(const ::com::sun::star::container::ContainerEvent& Event) throw(::com::sun::star::uno::RuntimeException)
92 : : {
93 : 0 : pDlgEdObj->_elementReplaced( Event );
94 : 0 : }
95 : :
96 : : //----------------------------------------------------------------------------
97 : :
98 : 0 : void SAL_CALL DlgEdEvtContListenerImpl::elementRemoved(const ::com::sun::star::container::ContainerEvent& Event) throw(::com::sun::star::uno::RuntimeException)
99 : : {
100 : 0 : pDlgEdObj->_elementRemoved( Event );
101 : 0 : }
102 : :
103 : : //----------------------------------------------------------------------------
104 : :
105 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|