diff options
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r-- | sw/inc/unoframe.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index 27e8dc01ef46..efbef6b83a1f 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -312,15 +312,11 @@ public: void SAL_CALL operator delete( void * ) throw(); }; -class SwXOLEListener : public cppu::WeakImplHelper -< - css::util::XModifyListener ->, +class SwXOLEListener : public cppu::WeakImplHelper<css::util::XModifyListener>, public SwClient { css::uno::Reference< css::frame::XModel > xOLEModel; - SwFormat* GetFormat() const { return const_cast<SwFormat*>(static_cast<const SwFormat*>(GetRegisteredIn())); } public: SwXOLEListener(SwFormat& rOLEFormat, css::uno::Reference< css::frame::XModel > const & xOLE); virtual ~SwXOLEListener() override; |