diff options
Diffstat (limited to 'sfx2/source/doc/docundomanager.cxx')
-rw-r--r-- | sfx2/source/doc/docundomanager.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx index 9c00fa44e8ff..40ee06e0ee12 100644 --- a/sfx2/source/doc/docundomanager.cxx +++ b/sfx2/source/doc/docundomanager.cxx @@ -32,7 +32,6 @@ #include <tools/diagnose_ex.h> #include <framework/undomanagerhelper.hxx> -#include <boost/noncopyable.hpp> #include <stack> @@ -181,7 +180,6 @@ namespace sfx2 //= UndoManagerGuard class UndoManagerGuard :public ::framework::IMutexGuard - ,public ::boost::noncopyable { public: explicit UndoManagerGuard( DocumentUndoManager& i_undoManager ) @@ -194,6 +192,9 @@ namespace sfx2 { } + UndoManagerGuard(const UndoManagerGuard&) = delete; + UndoManagerGuard& operator=(const UndoManagerGuard&) = delete; + virtual void clear() override { m_guard.clear(); |