summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/txtfrm.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-13 20:58:04 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-13 22:47:24 +0100
commit712938517dfc3d554d183eb48e9a4dd1ddb5f365 (patch)
treedc7f0925b6d9af30d253ca404904cb0fc27ad55b /sw/source/core/inc/txtfrm.hxx
parentcf1042902a82fa215278d8961b43f27173a7224e (diff)
Remove unused LINGU_STATISTIK
Diffstat (limited to 'sw/source/core/inc/txtfrm.hxx')
-rw-r--r--sw/source/core/inc/txtfrm.hxx41
1 files changed, 0 insertions, 41 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index a1a84afc4644..59cb5d902fc2 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -734,47 +734,6 @@ inline void SwTxtFrm::ResetBlinkPor() const
((SwTxtFrm*)this)->bBlinkPor = sal_False;
}
-#ifdef LINGU_STATISTIK
-
-class SwLinguStatistik
-{
-public:
- long nWords; // gepruefte Worte
- long nFlushCnt; // zaehlt die Messungen
-
- long nWrong; // als falsch erkannt
- long nAlter; // Alternativvorschlaege
- long nSpellTime; // Zeitmessung
- long nSynonym; // Thesaurus
- long nNoSynonym; // Thesaurus ratlos
- long nMeaning; // Thesaurus-Bedeutung
- long nNoMeaning; // Thesaurus meinungslos
- long nTheTime; // Zeitmessung
- long nHyphens; // Trennstellen
- long nNoHyph; // Worte ohne Trennstellen
- long nHyphErr; // Fehler beim Trennen
- long nHyphTime; // Zeitmessung
- SpellCheck *pSpell;
- LanguageType eLang;
-
- void Flush();
-
- inline SwLinguStatistik()
- { nWords = nWrong = nAlter = nSynonym = nNoSynonym =
- nHyphens = nNoHyph = nHyphErr = nSpellTime = nTheTime =
- nHyphTime = nFlushCnt = 0;
- pSpell = NULL;
- eLang = LANGUAGE_DONTKNOW; }
- inline ~SwLinguStatistik(){ Flush(); }
-};
-
-// globale Variable, implementiert in txtfrm.cxx
-extern SwLinguStatistik aSwLinguStat;
-
-#define SW_LING(nWhich,nInc) (aSwLinguStat.nWhich) += nInc;
-
-#endif
-
#define SWAP_IF_SWAPPED( pFrm )\
sal_Bool bUndoSwap = sal_False; \
if ( pFrm->IsVertical() && pFrm->IsSwapped() )\