From ef0af5032ad283ffb3b4521eb097a118d58f332a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 May 2013 10:43:34 +0200 Subject: fdo#46808, Convert linguistic2::LingProperties to new style API-CHANGE: Removed the following interfaces from the IDL because no-one was using them: interface com::sun::star::beans::XFastPropertySet; interface com::sun::star::lang::XComponent; But the service still implements them, so old code should keep on working. Change-Id: Iab058fb42bd1a54e0b9632e99e564fdc0869fe6e --- include/editeng/unolingu.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/editeng/unolingu.hxx') diff --git a/include/editeng/unolingu.hxx b/include/editeng/unolingu.hxx index 09f570228f95..9e21010c26b8 100644 --- a/include/editeng/unolingu.hxx +++ b/include/editeng/unolingu.hxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -52,7 +53,7 @@ class EDITENG_DLLPUBLIC LinguMgr static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSearchableDictionaryList > xDicList; static ::com::sun::star::uno::Reference< - ::com::sun::star::beans::XPropertySet > xProp; + ::com::sun::star::linguistic2::XLinguProperties > xProp; static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > xIgnoreAll; @@ -71,7 +72,7 @@ class EDITENG_DLLPUBLIC LinguMgr static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSearchableDictionaryList > GetDicList(); static ::com::sun::star::uno::Reference< - ::com::sun::star::beans::XPropertySet > GetProp(); + ::com::sun::star::linguistic2::XLinguProperties > GetProp(); static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > GetStandard(); static ::com::sun::star::uno::Reference< @@ -94,7 +95,7 @@ public: static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSearchableDictionaryList > GetDictionaryList(); static ::com::sun::star::uno::Reference< - ::com::sun::star::beans::XPropertySet > GetLinguPropertySet(); + ::com::sun::star::linguistic2::XLinguProperties > GetLinguPropertySet(); static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XLinguServiceManager2 > GetLngSvcMgr(); @@ -167,7 +168,7 @@ EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSearchableDictionaryList > SvxGetDictionaryList(); EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< - ::com::sun::star::beans::XPropertySet > SvxGetLinguPropertySet(); + ::com::sun::star::linguistic2::XLinguProperties > SvxGetLinguPropertySet(); //TODO: remove argument or provide SvxGetIgnoreAllList with the same one EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > SvxGetOrCreatePosDic( -- cgit