Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 538348 | Differences between
and this patch

Collapse All | Expand All

(-)a/include/toolkit/helper/listenermultiplexer.hxx (-5 / +5 lines)
Lines 83-89 DECL_LISTENERMULTIPLEXER_END Link Here
83
83
84
//  class FocusListenerMultiplexer
84
//  class FocusListenerMultiplexer
85
85
86
DECL_LISTENERMULTIPLEXER_START( FocusListenerMultiplexer, ::com::sun::star::awt::XFocusListener )
86
DECL_LISTENERMULTIPLEXER_START_DLLPUB( FocusListenerMultiplexer, ::com::sun::star::awt::XFocusListener )
87
    void SAL_CALL focusGained( const ::com::sun::star::awt::FocusEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
87
    void SAL_CALL focusGained( const ::com::sun::star::awt::FocusEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
88
    void SAL_CALL focusLost( const ::com::sun::star::awt::FocusEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
88
    void SAL_CALL focusLost( const ::com::sun::star::awt::FocusEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
89
DECL_LISTENERMULTIPLEXER_END
89
DECL_LISTENERMULTIPLEXER_END
Lines 92-98 DECL_LISTENERMULTIPLEXER_END Link Here
92
92
93
//  class WindowListenerMultiplexer
93
//  class WindowListenerMultiplexer
94
94
95
DECL_LISTENERMULTIPLEXER_START( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener )
95
DECL_LISTENERMULTIPLEXER_START_DLLPUB( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener )
96
    void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
96
    void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
97
    void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
97
    void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
98
    void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
98
    void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
Lines 112-118 DECL_LISTENERMULTIPLEXER_END Link Here
112
112
113
//  class KeyListenerMultiplexer
113
//  class KeyListenerMultiplexer
114
114
115
DECL_LISTENERMULTIPLEXER_START( KeyListenerMultiplexer, ::com::sun::star::awt::XKeyListener )
115
DECL_LISTENERMULTIPLEXER_START_DLLPUB( KeyListenerMultiplexer, ::com::sun::star::awt::XKeyListener )
116
    void SAL_CALL keyPressed( const ::com::sun::star::awt::KeyEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
116
    void SAL_CALL keyPressed( const ::com::sun::star::awt::KeyEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
117
    void SAL_CALL keyReleased( const ::com::sun::star::awt::KeyEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
117
    void SAL_CALL keyReleased( const ::com::sun::star::awt::KeyEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
118
DECL_LISTENERMULTIPLEXER_END
118
DECL_LISTENERMULTIPLEXER_END
Lines 130-136 DECL_LISTENERMULTIPLEXER_END Link Here
130
130
131
//  class MouseMotionListenerMultiplexer
131
//  class MouseMotionListenerMultiplexer
132
132
133
DECL_LISTENERMULTIPLEXER_START( MouseMotionListenerMultiplexer, ::com::sun::star::awt::XMouseMotionListener )
133
DECL_LISTENERMULTIPLEXER_START_DLLPUB( MouseMotionListenerMultiplexer, ::com::sun::star::awt::XMouseMotionListener )
134
    void SAL_CALL mouseDragged( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
134
    void SAL_CALL mouseDragged( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
135
    void SAL_CALL mouseMoved( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
135
    void SAL_CALL mouseMoved( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
136
DECL_LISTENERMULTIPLEXER_END
136
DECL_LISTENERMULTIPLEXER_END
Lines 138-144 DECL_LISTENERMULTIPLEXER_END Link Here
138
138
139
//  class PaintListenerMultiplexer
139
//  class PaintListenerMultiplexer
140
140
141
DECL_LISTENERMULTIPLEXER_START( PaintListenerMultiplexer, ::com::sun::star::awt::XPaintListener )
141
DECL_LISTENERMULTIPLEXER_START_DLLPUB( PaintListenerMultiplexer, ::com::sun::star::awt::XPaintListener )
142
    void SAL_CALL windowPaint( const ::com::sun::star::awt::PaintEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
142
    void SAL_CALL windowPaint( const ::com::sun::star::awt::PaintEvent& e ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
143
DECL_LISTENERMULTIPLEXER_END
143
DECL_LISTENERMULTIPLEXER_END
144
144
(-)a/include/toolkit/helper/macros.hxx (-4 / +6 lines)
Lines 112-119 class ClassName : public ListenerMultiplexerBase, public InterfaceName \ Link Here
112
public: \
112
public: \
113
    ClassName( ::cppu::OWeakObject& rSource ); \
113
    ClassName( ::cppu::OWeakObject& rSource ); \
114
    ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
114
    ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
115
    void                        SAL_CALL acquire() throw() SAL_OVERRIDE  { ListenerMultiplexerBase::acquire(); } \
115
    void                        SAL_CALL acquire() throw() SAL_OVERRIDE; \
116
    void                        SAL_CALL release() throw() SAL_OVERRIDE  { ListenerMultiplexerBase::release(); } \
116
    void                        SAL_CALL release() throw() SAL_OVERRIDE; \
117
    void                        SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
117
    void                        SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
118
118
119
119
Lines 124-131 class TOOLKIT_DLLPUBLIC ClassName : public ListenerMultiplexerBase, public Inter Link Here
124
public: \
124
public: \
125
    ClassName( ::cppu::OWeakObject& rSource ); \
125
    ClassName( ::cppu::OWeakObject& rSource ); \
126
    ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
126
    ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
127
    void                        SAL_CALL acquire() throw() SAL_OVERRIDE  { ListenerMultiplexerBase::acquire(); } \
127
    void                        SAL_CALL acquire() throw() SAL_OVERRIDE; \
128
    void                        SAL_CALL release() throw() SAL_OVERRIDE  { ListenerMultiplexerBase::release(); } \
128
    void                        SAL_CALL release() throw() SAL_OVERRIDE; \
129
    void                        SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
129
    void                        SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
130
130
131
131
Lines 140-145 ClassName::ClassName( ::cppu::OWeakObject& rSource ) \ Link Here
140
    : ListenerMultiplexerBase( rSource ) \
140
    : ListenerMultiplexerBase( rSource ) \
141
{ \
141
{ \
142
} \
142
} \
143
void SAL_CALL ClassName::acquire() throw() { ListenerMultiplexerBase::acquire(); } \
144
void SAL_CALL ClassName::release() throw() { ListenerMultiplexerBase::release(); } \
143
::com::sun::star::uno::Any ClassName::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) \
145
::com::sun::star::uno::Any ClassName::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) \
144
{ \
146
{ \
145
    ::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType, \
147
    ::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType, \
(-)a/toolkit/source/helper/listenermultiplexer.cxx (-1 / +9 lines)
Lines 47-52 EventListenerMultiplexer::EventListenerMultiplexer( ::cppu::OWeakObject& rSource Link Here
47
{
47
{
48
}
48
}
49
49
50
void SAL_CALL EventListenerMultiplexer::acquire() throw ()
51
{
52
    return ListenerMultiplexerBase::acquire();
53
}
54
void SAL_CALL EventListenerMultiplexer::release() throw ()
55
{
56
    return ListenerMultiplexerBase::release();
57
}
58
50
// ::com::sun::star::uno::XInterface
59
// ::com::sun::star::uno::XInterface
51
::com::sun::star::uno::Any EventListenerMultiplexer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception)
60
::com::sun::star::uno::Any EventListenerMultiplexer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception)
52
{
61
{
53
- 

Return to bug 538348