From 812a1c36d634b1bb9b2a327256805eff1db9b868 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 27 Oct 2000 08:30:37 +0000 Subject: linguistic => linguistic2 --- svx/inc/optitems.hxx | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) (limited to 'svx/inc/optitems.hxx') diff --git a/svx/inc/optitems.hxx b/svx/inc/optitems.hxx index a4a07ed575b2..bc6ffef8c827 100644 --- a/svx/inc/optitems.hxx +++ b/svx/inc/optitems.hxx @@ -2,9 +2,9 @@ * * $RCSfile: optitems.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:00:58 $ + * last change: $Author: tl $ $Date: 2000-10-27 09:30:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -67,18 +67,6 @@ #include #endif -//#ifndef _COM_SUN_STAR_LINGUISTIC_XSPELLALTERNATIVES_HPP_ -//#include -//#endif -//#ifndef _COM_SUN_STAR_LINGUISTIC_SPELLFAILURE_HPP_ -//#include -//#endif -//#ifndef _COM_SUN_STAR_LINGUISTIC_XSPELLCHECKER_HPP_ -//#include -//#endif -//#ifndef _COM_SUN_STAR_LINGUISTIC_XSPELLCHECKER1_HPP_ -//#include -//#endif #ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ #include #endif @@ -88,11 +76,9 @@ namespace com{namespace sun{namespace star{ namespace beans{ // class XPropertySet; } -namespace linguistic{ -// class XDictionary; +namespace linguistic2{ class XSpellChecker1; -// class XOtherLingu; - }}}} +}}}} // class SfxSpellCheckItem ----------------------------------------------- @@ -104,7 +90,8 @@ class SfxSpellCheckItem: public SfxPoolItem public: TYPEINFO(); - SfxSpellCheckItem( ::com::sun::star::uno::Reference< ::com::sun::star::linguistic::XSpellChecker1 > &xChecker, + SfxSpellCheckItem( ::com::sun::star::uno::Reference< + ::com::sun::star::linguistic2::XSpellChecker1 > &xChecker, sal_uInt16 nWhich = ITEMID_SPELLCHECK ); SfxSpellCheckItem( const SfxSpellCheckItem& rItem ); @@ -116,10 +103,13 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual int operator==( const SfxPoolItem& ) const; - ::com::sun::star::uno::Reference< ::com::sun::star::linguistic::XSpellChecker1 > GetXSpellChecker() const { return xSpellCheck; } + ::com::sun::star::uno::Reference< + ::com::sun::star::linguistic2::XSpellChecker1 > + GetXSpellChecker() const { return xSpellCheck; } private: - ::com::sun::star::uno::Reference< ::com::sun::star::linguistic::XSpellChecker1 > xSpellCheck; + ::com::sun::star::uno::Reference< + ::com::sun::star::linguistic2::XSpellChecker1 > xSpellCheck; }; #endif -- cgit