summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2019-02-25 21:28:05 +0100
committerBjörn Michaelsen <bjoern.michaelsen@libreoffice.org>2019-02-26 20:11:17 +0100
commit861e3220a15138c5ec8f572c3cd898f99ea7df99 (patch)
tree27f3ef0a9bada9a08ccc0a873d4321d8d625c43a /sw/inc
parent570cc11e8272394e3ee61e4891eab4a563ca28cd (diff)
UNO redlines: uno SvtListener instead of SwClient
Change-Id: Ie07147c9d6af469ed1088148dd8b9bdb64ae8590 Reviewed-on: https://gerrit.libreoffice.org/68362 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/unoredlines.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/unoredlines.hxx b/sw/inc/unoredlines.hxx
index 380745c41672..f28ec2344179 100644
--- a/sw/inc/unoredlines.hxx
+++ b/sw/inc/unoredlines.hxx
@@ -24,6 +24,7 @@
#include "docary.hxx"
#include "unocoll.hxx"
#include "unobaseclass.hxx"
+#include <svl/listener.hxx>
#include <com/sun/star/container/XEnumerationAccess.hpp>
class SwRangeRedline;
@@ -69,7 +70,7 @@ public:
class SwXRedlineEnumeration
: public SwSimpleEnumeration_Base
- , public SwClient
+ , public SvtListener
{
SwDoc* pDoc;
SwRedlineTable::size_type nCurrentIndex;
@@ -86,9 +87,8 @@ public:
virtual OUString SAL_CALL getImplementationName() override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
-protected:
- //SwClient
- virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
+
+ virtual void Notify( const SfxHint& ) override;
};
#endif