From a50fe4298d6761567230a1570a544398cca850c6 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sun, 1 Sep 2013 10:56:29 -0400 Subject: These pieces of code are no longer needed. Change-Id: I93a4abc84856a43d9d3a27ebadf111e589c62604 --- sc/source/core/data/documen8.cxx | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'sc/source/core/data/documen8.cxx') diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx index 67fb76a46b80..db94928c20e7 100644 --- a/sc/source/core/data/documen8.cxx +++ b/sc/source/core/data/documen8.cxx @@ -721,44 +721,6 @@ bool ScDocument::IdleCalcTextWidth() // true = demnaechst wieder vers return aScope.getNeedMore(); } -//------------------------------------------------------------------------ - -class ScSpellStatus -{ -public: - bool bModified; - - ScSpellStatus() : bModified(false) {}; - - DECL_LINK (EventHdl, EditStatus*); -}; - -IMPL_LINK( ScSpellStatus, EventHdl, EditStatus *, pStatus ) -{ - sal_uLong nStatus = pStatus->GetStatusWord(); - if ( nStatus & EE_STAT_WRONGWORDCHANGED ) - bModified = true; - - return 0; -} - -void ScDocument::SetOnlineSpellPos( const ScAddress& rPos ) -{ - aOnlineSpellPos = rPos; - - // skip visible area for aOnlineSpellPos - if ( aVisSpellRange.In( aOnlineSpellPos ) ) - aOnlineSpellPos = aVisSpellRange.aEnd; -} - -void ScDocument::RemoveAutoSpellObj() -{ - // alle Spelling-Informationen entfernen - - for (SCTAB nTab=0; nTab< static_cast(maTabs.size()) && maTabs[nTab]; nTab++) - maTabs[nTab]->RemoveAutoSpellObj(); -} - void ScDocument::RepaintRange( const ScRange& rRange ) { if ( bIsVisible && pShell ) -- cgit v1.2.3