diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/UndoManager.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx index a4b876ff2426..e5e6c46ad7f1 100644 --- a/chart2/source/model/main/UndoManager.cxx +++ b/chart2/source/model/main/UndoManager.cxx @@ -33,7 +33,6 @@ #include <com/sun/star/lang/DisposedException.hpp> /** === end UNO includes === **/ -#include <comphelper/processfactory.hxx> #include <framework/undomanagerhelper.hxx> #include <officecfg/Office/Common.hxx> #include <svl/undo.hxx> @@ -87,8 +86,7 @@ namespace chart ,m_aUndoHelper( *this ) { m_aUndoManager.SetMaxUndoActionCount( - officecfg::Office::Common::Undo::Steps::get( - comphelper::getProcessComponentContext())); + officecfg::Office::Common::Undo::Steps::get()); } virtual ~UndoManager_Impl() |