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 : #include "RptObjectListener.hxx"
20 : #include "RptObject.hxx"
21 : #include "RptDef.hxx"
22 :
23 : namespace rptui
24 : {
25 : //============================================================================
26 : // OObjectListener
27 : //============================================================================
28 :
29 : //----------------------------------------------------------------------------
30 : DBG_NAME(rpt_OObjectListener)
31 0 : OObjectListener::OObjectListener(OObjectBase* _pObject)
32 0 : :m_pObject(_pObject)
33 : {
34 : DBG_CTOR(rpt_OObjectListener,NULL);
35 0 : }
36 :
37 : //----------------------------------------------------------------------------
38 :
39 0 : OObjectListener::~OObjectListener()
40 : {
41 : DBG_DTOR(rpt_OObjectListener,NULL);
42 0 : }
43 :
44 : // XEventListener
45 : //----------------------------------------------------------------------------
46 :
47 0 : void SAL_CALL OObjectListener::disposing( const ::com::sun::star::lang::EventObject& ) throw( ::com::sun::star::uno::RuntimeException)
48 : {
49 0 : }
50 :
51 : // XPropertyChangeListener
52 : //----------------------------------------------------------------------------
53 :
54 0 : void SAL_CALL OObjectListener::propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException)
55 : {
56 0 : m_pObject->_propertyChange( evt );
57 0 : }
58 :
59 : //----------------------------------------------------------------------------
60 :
61 : //============================================================================
62 : // DlgEdHint
63 : //============================================================================
64 :
65 0 : TYPEINIT1( DlgEdHint, SfxHint );
66 :
67 : //----------------------------------------------------------------------------
68 :
69 0 : DlgEdHint::DlgEdHint( DlgEdHintKind eHint )
70 0 : :eHintKind( eHint )
71 : {
72 0 : }
73 :
74 : //----------------------------------------------------------------------------
75 0 : DlgEdHint::~DlgEdHint()
76 : {
77 0 : }
78 : //----------------------------------------------------------------------------
79 : }
80 :
81 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|