editeng/source/outliner/outlvw.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 4493543f1fa9420a67ac18e904d436dc0404a8a3 Author: matteocam <[email protected]> Date: Thu Jul 30 13:29:45 2015 +0200 Handle underflow after cutting text Change-Id: I33d83d7423a18f71ea7c1c4d1a03580354e48092 diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 987bd0a..bff66ad 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -675,8 +675,13 @@ void OutlinerView::InsertText( const OutlinerParaObject& rParaObj ) void OutlinerView::Cut() { - if ( !ImpCalcSelectedPages( false ) || pOwner->ImpCanDeleteSelectedPages( this ) ) + if ( !ImpCalcSelectedPages( false ) || pOwner->ImpCanDeleteSelectedPages( this ) ) { pEditView->Cut(); + + // Chaining handling + if (aEndPasteLink.IsSet()) + aEndPasteLink.Call(NULL); + } } void OutlinerView::Paste() _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
