summaryrefslogtreecommitdiff
path: root/sw/inc/unoframe.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-25 15:53:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 06:08:51 +0000
commita7ea18ffe715776cb0e2b39e98569c75605ee332 (patch)
tree1e32da87f2ad0e8d111ba8ed99180bb6b4cf2a77 /sw/inc/unoframe.hxx
parenteca5ea9f79181d45cd7fbabe2313617d3025818a (diff)
loplugin:expandablemethods in sw
Change-Id: Ibc9edc28f4041235ab30c026bd3774bd74b7e960 Reviewed-on: https://gerrit.libreoffice.org/30287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r--sw/inc/unoframe.hxx6
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;