summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-10-18 10:52:12 +0000
committerjp <jp@openoffice.org>2000-10-18 10:52:12 +0000
commit861aefeb0444e20eca5e6abf6cde309e64efb498 (patch)
tree65414df997f692e14a48e859eb6b7230135a1b30
parent0adb26902e341b44d02e92e2095c38beff76673b (diff)
unused CTOR removed
-rw-r--r--sw/inc/swacorr.hxx5
-rw-r--r--sw/source/core/sw3io/swacorr.cxx31
2 files changed, 19 insertions, 17 deletions
diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx
index 7c86df4274f5..bf25d52af990 100644
--- a/sw/inc/swacorr.hxx
+++ b/sw/inc/swacorr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: swacorr.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:14:28 $
+ * last change: $Author: jp $ $Date: 2000-10-18 11:51:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,7 +81,6 @@ protected:
public:
TYPEINFO();
- SwAutoCorrect( const String& rAutocorrFile );
SwAutoCorrect( const SvxAutoCorrect& rACorr );
virtual ~SwAutoCorrect();
};
diff --git a/sw/source/core/sw3io/swacorr.cxx b/sw/source/core/sw3io/swacorr.cxx
index 41900a40ab9b..e0b91bf46cea 100644
--- a/sw/source/core/sw3io/swacorr.cxx
+++ b/sw/source/core/sw3io/swacorr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: swacorr.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-19 00:08:23 $
+ * last change: $Author: jp $ $Date: 2000-10-18 11:52:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -69,11 +69,21 @@
#include <tools/urlobj.hxx>
#endif
-#include "swacorr.hxx"
-#include "swblocks.hxx"
-#include "swerror.h"
-#include "docsh.hxx"
-#include "editsh.hxx"
+#ifndef _SWACORR_HXX
+#include <swacorr.hxx>
+#endif
+#ifndef _SWBLOCKS_HXX
+#include <swblocks.hxx>
+#endif
+#ifndef _SWERROR_H
+#include <swerror.h>
+#endif
+#ifndef _DOCSH_HXX
+#include <docsh.hxx>
+#endif
+#ifndef _EDITSH_HXX
+#include <editsh.hxx>
+#endif
@@ -124,13 +134,6 @@ BOOL SwAutoCorrect::PutText( SvStorage& rStg, const String& rShort,
}
-SwAutoCorrect::SwAutoCorrect( const String& rAutocorrFile )
- : SvxAutoCorrect( rAutocorrFile )
-{
- SwEditShell::SetAutoFmtFlags(&GetSwFlags());
- // Konvertierung ??
-}
-
SwAutoCorrect::SwAutoCorrect( const SvxAutoCorrect& rACorr )
: SvxAutoCorrect( rACorr )
{