diff options
author | Rosemary Sebastian <rosemary.seb8@gmail.com> | 2017-07-05 10:14:05 +0530 |
---|---|---|
committer | Rosemary Sebastian <rosemaryseb8@gmail.com> | 2017-07-05 08:07:59 +0200 |
commit | 054dab1b9d4985c473e07c2618e5d6bf6ebc5466 (patch) | |
tree | 93dbdc319d6c9944f247916972a693dd74a03201 | |
parent | cc8390df26dad04a74425804dbd7ba068daca0c2 (diff) |
nitpick, tdf#107340 follow-up
Remove unwanted variable
Change-Id: Ie1f193b55a5c957e38e8499d6d5701441bc2b7e3
Reviewed-on: https://gerrit.libreoffice.org/39547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Rosemary Sebastian <rosemaryseb8@gmail.com>
Tested-by: Rosemary Sebastian <rosemaryseb8@gmail.com>
-rw-r--r-- | sw/source/core/doc/DocumentContentOperationsManager.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index 362d6c8efc02..e7448e881816 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -3558,8 +3558,7 @@ bool DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl( SwPaM & rPa pUndo = new SwUndoRedlineDelete( rPam, SwUndoId::DELETE ); const SwRewriter aRewriter = pUndo->GetRewriter(); - const SwRewriter* const pRewriter = &aRewriter; - m_rDoc.GetIDocumentUndoRedo().StartUndo( SwUndoId::DELETE, pRewriter ); + m_rDoc.GetIDocumentUndoRedo().StartUndo( SwUndoId::DELETE, &aRewriter ); m_rDoc.GetIDocumentUndoRedo().AppendUndo( pUndo ); } |