sw/source/uibase/dochdl/swdtflvr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 52ea9712c424e3647fb67631806b8661baeaa150 Author: Justin Luth <justin_l...@sil.org> Date: Thu Oct 1 09:57:56 2015 +0300 tdf#88128 fix unevaluated undo variable: cut When cutting a selection in Writer, the undo/redo remark was "Delete $1". This affected both the Edit Menu->Undo/Redo, and the Undo/Redo toolbar. Change-Id: I158bf6637b080835ecefea2216c9ebaca7092bc8 Reviewed-on: https://gerrit.libreoffice.org/19035 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index bff6887..81b0c03 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -777,11 +777,11 @@ void SwTransferable::DeleteSelection() return; // ask for type of selection before action-bracketing const int nSelection = m_pWrtShell->GetSelectionType(); - m_pWrtShell->StartUndo( UNDO_DELETE ); + m_pWrtShell->StartUndo( UNDO_START ); if( ( nsSelectionType::SEL_TXT | nsSelectionType::SEL_TBL ) & nSelection ) m_pWrtShell->IntelligentCut( nSelection ); m_pWrtShell->DelRight(); - m_pWrtShell->EndUndo( UNDO_DELETE ); + m_pWrtShell->EndUndo( UNDO_END ); } int SwTransferable::PrepareForCopy( bool bIsCut )
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits