summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2000-10-27 11:27:09 +0000
committerThomas Lange <tl@openoffice.org>2000-10-27 11:27:09 +0000
commitabea9346ec80dbc1b88e52a13ca984185ab84226 (patch)
treea62c99145627339d40402f58ff87f837a1b6da6a
parent0ff837690322d74add4e9e86e2b6f5a8cb35d409 (diff)
linguistic => linguistic2
-rw-r--r--sw/source/ui/shells/drwtxtex.cxx10
-rw-r--r--sw/source/ui/uiview/viewdraw.cxx6
2 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx
index 2b3f7de8691c..3c06754b9704 100644
--- a/sw/source/ui/shells/drwtxtex.cxx
+++ b/sw/source/ui/shells/drwtxtex.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drwtxtex.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: os $ $Date: 2000-10-24 11:53:58 $
+ * last change: $Author: tl $ $Date: 2000-10-27 12:26:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -180,8 +180,8 @@
#include "doc.hxx"
-#ifndef _COM_SUN_STAR_LINGUISTIC_XTHESAURUS_HPP_
-#include <com/sun/star/linguistic/XThesaurus.hpp>
+#ifndef _COM_SUN_STAR_LINGUISTIC2_XTHESAURUS_HPP_
+#include <com/sun/star/linguistic2/XThesaurus.hpp>
#endif
#include "wview.hxx"
@@ -550,7 +550,7 @@ void SwDrawTextShell::GetState(SfxItemSet& rSet)
const SfxPoolItem &rItem = GetShell().GetDoc()->GetDefault(RES_CHRATR_LANGUAGE);
LanguageType nLang = ((const SvxLanguageItem &) rItem).GetLanguage();
//
- uno::Reference< linguistic::XThesaurus > xThes( ::GetThesaurus() );
+ uno::Reference< linguistic2::XThesaurus > xThes( ::GetThesaurus() );
if (!xThes.is() || nLang == LANGUAGE_NONE ||
!xThes->hasLocale( SvxCreateLocale( nLang ) ))
rSet.DisableItem( FN_THESAURUS_DLG );
diff --git a/sw/source/ui/uiview/viewdraw.cxx b/sw/source/ui/uiview/viewdraw.cxx
index 20dc7431e7bf..56387ecef3f0 100644
--- a/sw/source/ui/uiview/viewdraw.cxx
+++ b/sw/source/ui/uiview/viewdraw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewdraw.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tbe $ $Date: 2000-10-23 10:53:45 $
+ * last change: $Author: tl $ $Date: 2000-10-27 12:27:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -419,7 +419,7 @@ sal_Bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, Window* pWin,
SwWrtShell *pSh = &GetWrtShell();
SdrView *pSdrView = pSh->GetDrawView();
SdrOutliner* pOutliner = ::SdrMakeOutliner(OUTLINERMODE_TEXTOBJECT, pSdrView->GetModel());
- uno::Reference< linguistic::XSpellChecker1 > xSpell( ::GetSpellChecker() );
+ uno::Reference< linguistic2::XSpellChecker1 > xSpell( ::GetSpellChecker() );
if (pOutliner)
{
SwWrtShell *pSh = &GetWrtShell();