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/linguistic | |
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/linguistic')
-rw-r--r-- | include/linguistic/misc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx index c15d2fc70dab..8e7b4b1353f1 100644 --- a/include/linguistic/misc.hxx +++ b/include/linguistic/misc.hxx @@ -29,6 +29,7 @@ #include <com/sun/star/linguistic2/XDictionaryEntry.hpp> #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> +#include <com/sun/star/linguistic2/XLinguProperties.hpp> #include <uno/lbnames.h> // CPPU_CURRENT_LANGUAGE_BINDING_NAME macro, which specify the environment type #include <cppuhelper/implbase1.hxx> // helper for implementations @@ -56,7 +57,6 @@ class LocaleDataWrapper; #define SN_SPELLCHECKER "com.sun.star.linguistic2.SpellChecker" #define SN_HYPHENATOR "com.sun.star.linguistic2.Hyphenator" #define SN_THESAURUS "com.sun.star.linguistic2.Thesaurus" -#define SN_LINGU_PROPERTIES "com.sun.star.linguistic2.LinguProperties" namespace linguistic @@ -150,7 +150,7 @@ LNG_DLLPUBLIC sal_Bool IsNumeric( const String &rText ); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > GetOneInstanceService( const char *pServiceName ); -LNG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > GetLinguProperties(); +LNG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XLinguProperties > GetLinguProperties(); ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSearchableDictionaryList > GetDictionaryList(); ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > GetIgnoreAllList(); |