diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 19:54:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 08:43:05 +0200 |
commit | 18f513145477d4621290253d936dad7a40ee4c05 (patch) | |
tree | 488acddc766727dc28c28c026c9bc2a2a5e10900 /svl | |
parent | 742c0838f29bd09505e2cb9ca35debf401c18c23 (diff) |
loplugin:unusedfields store..svl
Change-Id: I6070a683e5128271b84a10caccb548d07c950927
Reviewed-on: https://gerrit.libreoffice.org/39021
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/undo/undo.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
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<SfxUndoArray> 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 |