summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-10-26 14:24:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-30 11:02:39 +0100
commit43d9f35c2665e55cfb5ee911a554ef71933ad4d1 (patch)
treed3b5d69db549ae13f0bc2a29c6905fe4235f4737 /sw/inc
parent273ee9838cb87d6cf910a92969592709eba650f9 (diff)
fdo#46808, Adapt linguistic2::LinguServiceManager UNO service to new style
Create a merged XLinguServiceManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I297bada1066cd74809108641b56ee4d5898112ec
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/dlelstnr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/dlelstnr.hxx b/sw/inc/dlelstnr.hxx
index e8620f5f2e10..918ebf71f324 100644
--- a/sw/inc/dlelstnr.hxx
+++ b/sw/inc/dlelstnr.hxx
@@ -23,6 +23,7 @@
#include <cppuhelper/weak.hxx>
#include <com/sun/star/linguistic2/XDictionaryListEventListener.hpp>
#include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp>
+#include <com/sun/star/linguistic2/XLinguServiceManager2.hpp>
#include <com/sun/star/frame/XTerminateListener.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
#include <cppuhelper/implbase2.hxx> // helper for implementations
@@ -31,7 +32,6 @@
namespace com { namespace sun { namespace star {
namespace linguistic2 {
class XDictionaryList;
- class XLinguServiceManager;
class XProofreadingIterator;
}
namespace frame {
@@ -56,7 +56,7 @@ class SwLinguServiceEventListener :
com::sun::star::uno::Reference<
com::sun::star::frame::XDesktop > xDesktop;
com::sun::star::uno::Reference<
- com::sun::star::linguistic2::XLinguServiceManager > xLngSvcMgr;
+ com::sun::star::linguistic2::XLinguServiceManager2 > xLngSvcMgr;
com::sun::star::uno::Reference<
com::sun::star::linguistic2::XProofreadingIterator > xGCIterator;