summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-02 22:52:24 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-03 10:20:09 -0400
commitb8cc16723815fc2636582e49b8878e9d34b23b86 (patch)
tree65261480def1818aa430d556632d2d4ec57df68e /editeng
parent11524988f1e5ceca372dd7f172a72636e3247f06 (diff)
Make ImpEditEngine explicitly non-copyable.
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 7b85ca2b4a31..0c93da6856ac 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -35,6 +35,8 @@
#include <editstt2.hxx>
#include <editeng/editdata.hxx>
#include <editeng/svxacorr.hxx>
+#include <editeng/SpellPortions.hxx>
+#include <editeng/eedata.hxx>
#include <vcl/virdev.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/cursor.hxx>
@@ -57,6 +59,8 @@
#include <i18npool/lang.h>
#include <rtl/ref.hxx>
+#include <boost/noncopyable.hpp>
+
DBG_NAMEEX( EditView )
DBG_NAMEEX( EditEngine )
@@ -89,11 +93,6 @@ class SvKeyValueIterator;
class SvxForbiddenCharactersTable;
class SvtCTLOptions;
class Window;
-
-#include <editeng/SpellPortions.hxx>
-
-#include <editeng/eedata.hxx>
-
class SvxNumberFormat;
@@ -381,7 +380,7 @@ public:
typedef EditView* EditViewPtr;
SV_DECL_PTRARR( EditViews, EditViewPtr, 0 )
-class ImpEditEngine : public SfxListener
+class ImpEditEngine : public SfxListener, boost::noncopyable
{
// The Undos have to manipulate directly ( private-Methods ),
// do that no new Undo is inserted!
@@ -689,6 +688,8 @@ private:
SpellInfo * CreateSpellInfo( const EditSelection &rSel, bool bMultipleDocs );
+ ImpEditEngine(); // disabled
+
protected:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );