diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 15:52:14 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 15:52:14 +0000 |
commit | 7f996e6423bd824c5cb2bce15d7adc628d60ad23 (patch) | |
tree | a42ce3535ef67f294fc14f3b30e21cd35df8a121 /sc/source/ui/view/viewfun4.cxx | |
parent | 5d290a6e20e0a1d243e5fcb1bdf7b03f2511d376 (diff) |
INTEGRATION: CWS langstatusbar (1.34.146); FILE MERGED
2007/10/01 21:11:00 tl 1.34.146.3: RESYNC: (1.35-1.37); FILE MERGED
2007/06/25 16:13:04 tl 1.34.146.2: RESYNC: (1.34-1.35); FILE MERGED
2007/06/08 14:17:30 tl 1.34.146.1: #i77208# new language status-bar control
Diffstat (limited to 'sc/source/ui/view/viewfun4.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun4.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index ba0d9655d71a..bd80d21b6af2 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -4,9 +4,9 @@ * * $RCSfile: viewfun4.cxx,v $ * - * $Revision: 1.37 $ + * $Revision: 1.38 $ * - * last change: $Author: rt $ $Date: 2007-07-06 12:48:29 $ + * last change: $Author: ihi $ $Date: 2007-11-23 16:52:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -52,7 +52,6 @@ #include <svx/flditem.hxx> #include <svx/hlnkitem.hxx> #include <svx/langitem.hxx> -#include <svx/langtab.hxx> #include <svx/svxerr.hxx> #include <svx/impgrf.hxx> #include <svx/unolingu.hxx> @@ -61,6 +60,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/docfile.hxx> #include <sfx2/fcontnr.hxx> +#include <svtools/langtab.hxx> #include <svtools/filter.hxx> #include <svtools/stritem.hxx> #include <svtools/transfer.hxx> @@ -305,7 +305,7 @@ void ScViewFunc::DoThesaurus( BOOL bRecord ) if (eState == EE_SPELL_ERRORFOUND) // sollte spaeter durch Wrapper geschehen! { LanguageType eLnge = ScViewUtil::GetEffLanguage( pDoc, ScAddress( nCol, nRow, nTab ) ); - SvxLanguageTable aLangTab; + SvtLanguageTable aLangTab; String aErr = aLangTab.GetString(eLnge); aErr += ScGlobal::GetRscString( STR_SPELLING_NO_LANG ); InfoBox aBox( GetViewData()->GetDialogParent(), aErr ); @@ -499,7 +499,7 @@ void ScViewFunc::DoSheetConversion( const ScConversionParam& rConvParam, BOOL bR IMPL_LINK_INLINE_START( ScViewFunc, SpellError, void *, nLang ) { - SvxLanguageTable aLangTab; + SvtLanguageTable aLangTab; String aErr = aLangTab.GetString((LanguageType) (ULONG) nLang); ErrorHandler::HandleError(*new StringErrorInfo( ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS, aErr) ); |