From 18f513145477d4621290253d936dad7a40ee4c05 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Jun 2017 19:54:23 +0200 Subject: loplugin:unusedfields store..svl Change-Id: I6070a683e5128271b84a10caccb548d07c950927 Reviewed-on: https://gerrit.libreoffice.org/39021 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svl/source/undo/undo.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'svl') diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index db6be7846ef8..cb227fc5a2d3 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -223,7 +223,6 @@ struct SfxUndoManager_Data std::unique_ptr pUndoArray; SfxUndoArray* pActUndoArray; - SfxUndoArray* pFatherUndoArray; sal_Int32 mnMarks; sal_Int32 mnEmptyMark; @@ -236,7 +235,6 @@ struct SfxUndoManager_Data explicit SfxUndoManager_Data( size_t i_nMaxUndoActionCount ) :pUndoArray( new SfxUndoArray( i_nMaxUndoActionCount ) ) ,pActUndoArray( nullptr ) - ,pFatherUndoArray( nullptr ) ,mnMarks( 0 ) ,mnEmptyMark(MARK_INVALID) ,mbUndoEnabled( true ) @@ -1000,7 +998,6 @@ void SfxUndoManager::EnterListAction( const OUString& rComment, if ( !m_xData->pUndoArray->nMaxUndoActions ) return; - m_xData->pFatherUndoArray = m_xData->pActUndoArray; SfxListUndoAction* pAction = new SfxListUndoAction( rComment, rRepeatComment, nId, nViewShellId, m_xData->pActUndoArray ); OSL_VERIFY( ImplAddUndoAction_NoNotify( pAction, false, false, aGuard ) ); // expected to succeed: all conditions under which it could fail should have been checked already -- cgit