summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/workwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-07-22 16:06:20 +0200
committerNoel Grandin <noel@peralex.com>2013-07-23 10:05:46 +0200
commit61eed5f1b9889ba3b6c0e484f0847cdf52ab3871 (patch)
tree7aea73f0cc2950484992bccca9cbbb063277f633 /sfx2/source/inc/workwin.hxx
parent376d5a6ad979ef2b3e90c186ca8ede0ef2824200 (diff)
convert sfx2 UNO services to WeakImplHelper
...removing the SFX_ UNO-related macros as a result. Change-Id: I56542885847ff0adc604f309ed7e2582b7529f3f
Diffstat (limited to 'sfx2/source/inc/workwin.hxx')
-rw-r--r--sfx2/source/inc/workwin.hxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index e0ab8af15459..4a9a47a8da65 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -26,7 +26,7 @@
#include <com/sun/star/ui/XUIElement.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/frame/XLayoutManagerListener.hpp>
-#include <cppuhelper/weak.hxx>
+#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/propshlp.hxx>
#include <rtl/ustring.hxx>
@@ -172,17 +172,14 @@ struct SfxObjectBarList_Impl
//--------------------------------------------------------------------
-class LayoutManagerListener : public ::com::sun::star::frame::XLayoutManagerListener,
- public ::com::sun::star::lang::XTypeProvider,
- public ::com::sun::star::lang::XComponent,
- public ::cppu::OWeakObject
+class LayoutManagerListener : public ::cppu::WeakImplHelper2<
+ css::frame::XLayoutManagerListener,
+ css::lang::XComponent >
{
public:
LayoutManagerListener( SfxWorkWindow* pWrkWin );
virtual ~LayoutManagerListener();
- SFX_DECL_XINTERFACE_XTYPEPROVIDER
-
void setFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
//---------------------------------------------------------------------------------------------------------