diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-31 17:25:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-31 17:26:57 +0100 |
commit | 6fca59d9c2d3ee3833da6a71d390a2a5b6b73299 (patch) | |
tree | 4a367bb7c33626eb753d1d3b7b6fd0743ee94f50 /chart2 | |
parent | 03e17a141fbb4e1242de9d9979b5b699e6840454 (diff) |
Simplify code by making getProcessComponentContext() implicit.
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() |