diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-13 10:43:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-14 08:08:25 +0200 |
commit | ef0af5032ad283ffb3b4521eb097a118d58f332a (patch) | |
tree | 823553af06bf42a914d38e19beb3e3fc25f3bc52 /include/editeng | |
parent | bd27671c0ccc3505efb9fc493e0cfc63df449856 (diff) |
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
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/unolingu.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
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 <tools/string.hxx> #include <com/sun/star/util/Language.hpp> #include <com/sun/star/linguistic2/XLinguServiceManager2.hpp> +#include <com/sun/star/linguistic2/XLinguProperties.hpp> #include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <com/sun/star/linguistic2/XHyphenator.hpp> #include <com/sun/star/linguistic2/XThesaurus.hpp> @@ -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( |