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 /sw/source/ui/uiview | |
parent | 03e17a141fbb4e1242de9d9979b5b699e6840454 (diff) |
Simplify code by making getProcessComponentContext() implicit.
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index 0b10a46f44bf..c2ee944424a8 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -31,7 +31,6 @@ #include <stdlib.h> #include <hintids.hxx> #include <comphelper/string.hxx> -#include <comphelper/processfactory.hxx> #include <officecfg/Office/Common.hxx> #include <rtl/logfile.hxx> #include <vcl/graph.hxx> @@ -948,8 +947,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) SetVisArea( pDocSh->GetVisArea(ASPECT_CONTENT),sal_False); SAL_WARN_IF( - officecfg::Office::Common::Undo::Steps::get( - comphelper::getProcessComponentContext()) <= 0, + officecfg::Office::Common::Undo::Steps::get() <= 0, "sw", "/org.openoffice.Office.Common/Undo/Steps <= 0"); pWrtShell->DoUndo( true ); |