diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index eb2cff75aed5..ba7157e08bc3 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -35,7 +35,6 @@ #include <svx/svxids.hrc> #include <svx/unoshape.hxx> -#include <comphelper/processfactory.hxx> #include <officecfg/Office/Common.hxx> #include <svl/numuno.hxx> #include <svl/smplhint.hxx> @@ -1683,9 +1682,7 @@ void SAL_CALL ScModelObj::setPropertyValue( pDoc->EnableUndo( bUndoEnabled ); pDocShell->GetUndoManager()->SetMaxUndoActionCount( bUndoEnabled - ? officecfg::Office::Common::Undo::Steps::get( - comphelper::getProcessComponentContext()) - : 0); + ? officecfg::Office::Common::Undo::Steps::get() : 0); } else if ( aString.EqualsAscii( SC_UNO_ISADJUSTHEIGHTENABLED ) ) { |