diff options
32 files changed, 4 insertions, 44 deletions
diff --git a/cui/source/dialogs/SpellAttrib.cxx b/cui/source/dialogs/SpellAttrib.cxx index 3addd44165c5..b71449d98295 100644 --- a/cui/source/dialogs/SpellAttrib.cxx +++ b/cui/source/dialogs/SpellAttrib.cxx @@ -19,7 +19,7 @@ #include <SpellAttrib.hxx> #include <vcl/font.hxx> -#include <com/sun/star/linguistic2/XSpellAlternatives.hpp> + using namespace svx; using namespace com::sun::star::linguistic2; using namespace com::sun::star::uno; diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 237da1ab0079..19f67ea90acb 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -38,7 +38,6 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceDisplayName.hpp> -#include <com/sun/star/linguistic2/SpellFailure.hpp> #include <com/sun/star/frame/XStorable.hpp> #include <sfx2/app.hxx> #include <vcl/help.hxx> diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 51fae3d5ceea..0bed6ce6f9a2 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -50,7 +50,6 @@ #include <com/sun/star/linguistic2/XThesaurus.hpp> #include <com/sun/star/linguistic2/XMeaning.hpp> -#include <com/sun/star/linguistic2/LinguServiceManager.hpp> using namespace ::com::sun::star; diff --git a/cui/source/dialogs/thesdlg_impl.hxx b/cui/source/dialogs/thesdlg_impl.hxx index 23d35c487b53..ebd521a393c0 100644 --- a/cui/source/dialogs/thesdlg_impl.hxx +++ b/cui/source/dialogs/thesdlg_impl.hxx @@ -36,9 +36,6 @@ #include <vcl/timer.hxx> #include <vcl/wrkwin.hxx> -#include <com/sun/star/linguistic2/XThesaurus.hpp> -#include <com/sun/star/linguistic2/XMeaning.hpp> - #include <stack> #include <map> #include <algorithm> diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 33816f716d46..4a65279ff477 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -40,10 +40,6 @@ #include <com/sun/star/linguistic2/XThesaurus.hpp> #include <com/sun/star/linguistic2/XAvailableLocales.hpp> #include <com/sun/star/lang/XServiceDisplayName.hpp> -#include <com/sun/star/linguistic2/DictionaryListEventFlags.hpp> -#include <com/sun/star/linguistic2/DictionaryListEvent.hpp> -#include <com/sun/star/linguistic2/XDictionaryListEventListener.hpp> -#include <com/sun/star/linguistic2/XDictionaryList.hpp> #include <com/sun/star/frame/XStorable.hpp> #include <com/sun/star/ucb/CommandAbortedException.hpp> #include <unotools/extendedsecurityoptions.hxx> diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 62cde1a44171..c9f74a9df97e 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -29,11 +29,6 @@ #include <editeng/outliner.hxx> #include <tools/poly.hxx> #include <editeng/unolingu.hxx> -#include <com/sun/star/linguistic2/XDictionaryEntry.hpp> -#include <com/sun/star/linguistic2/DictionaryType.hpp> -#include <com/sun/star/linguistic2/DictionaryEvent.hpp> -#include <com/sun/star/linguistic2/XDictionaryEventListener.hpp> -#include <com/sun/star/linguistic2/DictionaryEventFlags.hpp> #include <com/sun/star/linguistic2/XDictionary.hpp> #include <com/sun/star/datatransfer/dnd/DNDConstants.hpp> #include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp> diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index dc5f9ac7af3c..d0b17654d17e 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -43,8 +43,6 @@ #include <svl/ondemand.hxx> #include <svl/languageoptions.hxx> #include <com/sun/star/linguistic2/XSpellAlternatives.hpp> -#include <com/sun/star/linguistic2/SpellFailure.hpp> -#include <com/sun/star/linguistic2/XSpellChecker.hpp> #include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <com/sun/star/linguistic2/XHyphenator.hpp> #include <com/sun/star/lang/Locale.hpp> diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 0715212ff856..2e2232c08870 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -64,7 +64,6 @@ #include <editeng/unolingu.hxx> #include <linguistic/lngprops.hxx> #include <com/sun/star/linguistic2/XThesaurus.hpp> -#include <com/sun/star/linguistic2/XMeaning.hpp> #include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/WordType.hpp> #include <unotools/transliterationwrapper.hxx> diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index d4bf657e1532..cc5c76b6c8e4 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -27,7 +27,6 @@ #include <com/sun/star/lang/XEventListener.hpp> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include <com/sun/star/linguistic2/DictionaryList.hpp> -#include <com/sun/star/linguistic2/XAvailableLocales.hpp> #include <com/sun/star/linguistic2/LinguServiceManager.hpp> #include <com/sun/star/linguistic2/LinguProperties.hpp> #include <com/sun/star/ucb/XAnyCompareFactory.hpp> diff --git a/framework/inc/uielement/langselectionmenucontroller.hxx b/framework/inc/uielement/langselectionmenucontroller.hxx index e2f05aaefd23..d439a1068da5 100644 --- a/framework/inc/uielement/langselectionmenucontroller.hxx +++ b/framework/inc/uielement/langselectionmenucontroller.hxx @@ -31,7 +31,6 @@ #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XStatusListener.hpp> #include <com/sun/star/frame/XPopupMenuController.hpp> -#include <com/sun/star/linguistic2/XLanguageGuessing.hpp> #include <svtools/popupmenucontrollerbase.hxx> #include <toolkit/awt/vclxmenu.hxx> diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx index dceee7969f39..dc9ecb06c6cd 100644 --- a/framework/source/uielement/langselectionmenucontroller.cxx +++ b/framework/source/uielement/langselectionmenucontroller.cxx @@ -35,7 +35,6 @@ #include <com/sun/star/document/XDocumentLanguages.hpp> #include <com/sun/star/frame/XPopupMenuController.hpp> -#include <com/sun/star/linguistic2/XLanguageGuessing.hpp> #include <i18nlangtag/mslangid.hxx> #include <svl/languageoptions.hxx> diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx index 430a4628f7f8..2296b24e06a4 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx @@ -23,7 +23,6 @@ #endif #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <cppuhelper/factory.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx index 128f74324c62..cb3d07d2a631 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx @@ -28,7 +28,6 @@ #include <com/sun/star/beans/PropertyValues.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/linguistic2/XHyphenator.hpp> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <unotools/charclass.hxx> diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx index 58b28fd0a4fb..7c72b748c7b2 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx @@ -35,7 +35,6 @@ #include <com/sun/star/beans/PropertyValues.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/linguistic2/XSpellChecker.hpp> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <linguistic/misc.hxx> diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index 68239d90e9ed..4d817e7c517e 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -18,7 +18,6 @@ */ #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/SpellFailure.hpp> #include <cppuhelper/factory.hxx> diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 301bd07e0bcd..a3c9696fa142 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -18,7 +18,6 @@ */ #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/SpellFailure.hpp> #include <comphelper/processfactory.hxx> diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx index b8f5dc18f69b..63b13d19b11d 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx @@ -28,7 +28,6 @@ #include <com/sun/star/beans/PropertyValues.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/linguistic2/XSpellChecker.hpp> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <linguistic/misc.hxx> diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index b8da4808ebce..3ea075716f88 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/registry/XRegistryKey.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/linguistic2/LinguServiceManager.hpp> +#include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <i18nlangtag/languagetag.hxx> #include <tools/debug.hxx> #include <comphelper/processfactory.hxx> diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx index f2a1b0bbedcb..2039ecc0aa09 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx @@ -33,9 +33,6 @@ #include <com/sun/star/linguistic2/XMeaning.hpp> #include <com/sun/star/linguistic2/XThesaurus.hpp> -#include <com/sun/star/linguistic2/XLinguServiceManager.hpp> -#include <com/sun/star/linguistic2/XSpellChecker1.hpp> - #include <unotools/charclass.hxx> #include <lingutil.hxx> diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index e92ed0275f8d..0e952a516843 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -30,9 +30,6 @@ #include <unotools/streamwrap.hxx> #include <unotools/ucbstreamhelper.hxx> -#include <com/sun/star/linguistic2/XConversionDictionary.hpp> -#include <com/sun/star/linguistic2/ConversionDictionaryType.hpp> -#include <com/sun/star/linguistic2/XConversionPropertyType.hpp> #include <com/sun/star/linguistic2/ConversionPropertyType.hpp> #include <com/sun/star/util/XFlushable.hpp> #include <com/sun/star/lang/Locale.hpp> diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index 08c160c1b0a4..49c8565d3ff3 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -24,7 +24,6 @@ #include <ucbhelper/content.hxx> #include <cppuhelper/factory.hxx> -#include <com/sun/star/linguistic2/XConversionDictionary.hpp> #include <com/sun/star/linguistic2/ConversionDictionaryType.hpp> #include <com/sun/star/linguistic2/ConversionPropertyType.hpp> #include <com/sun/star/util/XFlushable.hpp> diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx index 132d270f3fd2..019dc03fdd06 100644 --- a/linguistic/source/convdicxml.hxx +++ b/linguistic/source/convdicxml.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_LINGUISTIC_SOURCE_CONVDICXML_HXX #define INCLUDED_LINGUISTIC_SOURCE_CONVDICXML_HXX -#include <com/sun/star/linguistic2/XConversionDictionary.hpp> #include <com/sun/star/util/XFlushable.hpp> #include <com/sun/star/util/MeasureUnit.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/linguistic/source/defs.hxx b/linguistic/source/defs.hxx index c124fce09c16..c39740e01d65 100644 --- a/linguistic/source/defs.hxx +++ b/linguistic/source/defs.hxx @@ -21,7 +21,6 @@ #define INCLUDED_LINGUISTIC_SOURCE_DEFS_HXX #include <com/sun/star/linguistic2/XSpellChecker.hpp> -#include <com/sun/star/linguistic2/XProofreader.hpp> #include <com/sun/star/linguistic2/XHyphenator.hpp> #include <com/sun/star/linguistic2/XThesaurus.hpp> diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx index 12ec7cf9c8d5..c2416eed58cb 100644 --- a/linguistic/source/hhconvdic.cxx +++ b/linguistic/source/hhconvdic.cxx @@ -25,7 +25,6 @@ #include <cppuhelper/factory.hxx> #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/linguistic2/XConversionDictionary.hpp> #include <com/sun/star/linguistic2/ConversionDictionaryType.hpp> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> diff --git a/linguistic/source/hhconvdic.hxx b/linguistic/source/hhconvdic.hxx index 5d6330a4ece3..c2aba0279309 100644 --- a/linguistic/source/hhconvdic.hxx +++ b/linguistic/source/hhconvdic.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_LINGUISTIC_SOURCE_HHCONVDIC_HXX #define INCLUDED_LINGUISTIC_SOURCE_HHCONVDIC_HXX -#include <com/sun/star/linguistic2/XConversionDictionary.hpp> #include <com/sun/star/util/XFlushable.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <cppuhelper/interfacecontainer.h> diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index c475db91d3a5..b2b227be774c 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -23,7 +23,7 @@ #include <cppuhelper/factory.hxx> #include <com/sun/star/registry/XRegistryKey.hpp> -#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> +#include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include <rtl/ustrbuf.hxx> #include <i18nlangtag/lang.h> diff --git a/linguistic/source/hyphdsp.hxx b/linguistic/source/hyphdsp.hxx index fc91441beefa..92116ec9cc16 100644 --- a/linguistic/source/hyphdsp.hxx +++ b/linguistic/source/hyphdsp.hxx @@ -28,7 +28,6 @@ #include <com/sun/star/linguistic2/XPossibleHyphens.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> -#include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <cppuhelper/implbase.hxx> diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index d26993cabb5f..404b350a05d7 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -20,6 +20,7 @@ #include <sal/config.h> #include <com/sun/star/uno/Reference.h> +#include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/SpellFailure.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx index e91fce07d0cc..2eaf40da5e83 100644 --- a/linguistic/source/spelldsp.hxx +++ b/linguistic/source/spelldsp.hxx @@ -34,7 +34,6 @@ #include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <com/sun/star/linguistic2/XSpellChecker.hpp> #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> -#include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <map> #include <memory> diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 55299ad0c8fb..8feaed9150c0 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -19,7 +19,6 @@ #include <vcl/scrbar.hxx> #include <vcl/svapp.hxx> #include <vcl/seleng.hxx> -#include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx index 47bca330865c..06d8db9c3796 100644 --- a/sc/source/ui/drawfunc/drtxtob.cxx +++ b/sc/source/ui/drawfunc/drtxtob.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/linguistic2/XThesaurus.hpp> #include <com/sun/star/lang/Locale.hpp> #include <comphelper/string.hxx> #include "scitems.hxx" diff --git a/sw/inc/dlelstnr.hxx b/sw/inc/dlelstnr.hxx index 59defb90ad27..56562fda9f1e 100644 --- a/sw/inc/dlelstnr.hxx +++ b/sw/inc/dlelstnr.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SW_INC_DLELSTNR_HXX #include <cppuhelper/weak.hxx> -#include <com/sun/star/linguistic2/XDictionaryListEventListener.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> #include <com/sun/star/frame/XDesktop2.hpp> |