ooo-build r11379 - in trunk: . patches/src680
- From: hub svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r11379 - in trunk: . patches/src680
- Date: Wed, 23 Jan 2008 15:55:50 +0000 (GMT)
Author: hub
Date: Wed Jan 23 15:55:49 2008
New Revision: 11379
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11379&view=rev
Log:
* patches/src680/svx-text-move-fix-i59061.diff: The fix was missing
line to work with selection from bottom to top. #i59061
Modified:
trunk/ChangeLog
trunk/patches/src680/svx-text-move-fix-i59061.diff
Modified: trunk/patches/src680/svx-text-move-fix-i59061.diff
==============================================================================
--- trunk/patches/src680/svx-text-move-fix-i59061.diff (original)
+++ trunk/patches/src680/svx-text-move-fix-i59061.diff Wed Jan 23 15:55:49 2008
@@ -5,12 +5,13 @@
diff -u -r1.49 editview.cxx
--- svx/source/editeng/editview.cxx 23 Nov 2007 16:43:08 -0000 1.49
+++ svx/source/editeng/editview.cxx 14 Jan 2008 20:36:52 -0000
-@@ -745,12 +745,12 @@
+@@ -745,12 +745,13 @@
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
ESelection aSel = GetSelection();
- long nDest = aSel.nStartPara + nDiff;
+ Range aRange( aSel.nStartPara, aSel.nEndPara );
++ aRange.Justify();
+ long nDest = ( nDiff > 0 ? aRange.Max() : aRange.Min() ) + nDiff;
if ( nDiff > 0 )
nDest++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]