summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/acmplwrd.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 13:35:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 13:35:24 +0000
commit7d2146e18f894fd97cd750fd1d95db9fee47cee6 (patch)
treeab919ddfd4fced4b93ea42239905df6c47ccc0c0 /sw/source/core/doc/acmplwrd.cxx
parent0345129851c650e97eaf4fd229fd905d3eae0128 (diff)
INTEGRATION: CWS dialogdiet (1.8.68); FILE MERGED
2003/11/28 18:01:29 mba 1.8.68.1: #i22972#: AutoCorrCfg moved to svx
Diffstat (limited to 'sw/source/core/doc/acmplwrd.cxx')
-rw-r--r--sw/source/core/doc/acmplwrd.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index a16004fa566c..3b69e4eca86d 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: acmplwrd.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: kz $ $Date: 2003-09-11 09:39:27 $
+ * last change: $Author: hr $ $Date: 2004-02-03 14:35:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -103,16 +103,12 @@
#ifndef _HINTS_HXX
#include <hints.hxx>
#endif
-#ifndef _OFF_APP_HXX //autogen
-#include <offmgr/app.hxx>
-#endif
-#ifndef _OFAACCFG_HXX //autogen
-#include <offmgr/ofaaccfg.hxx>
-#endif
#ifndef _MySVXACORR_HXX
#include <svx/svxacorr.hxx>
#endif
+#include <svx/acorrcfg.hxx>
+
#include <vector>
/* -----------------------------05.08.2002 12:43------------------------------
@@ -557,7 +553,7 @@ void SwAutoCompleteWord::DocumentDying(const SwDoc& rDoc)
{
pImpl->RemoveDocument(rDoc);
- SvxAutoCorrect* pACorr = OFF_APP()->GetAutoCorrConfig()->GetAutoCorrect();
+ SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get()->GetAutoCorrect();
const sal_Bool bDelete = !pACorr->GetSwFlags().bAutoCmpltKeepList;
for(USHORT nPos = aWordLst.Count(); nPos; nPos--)
{