ooo-build r11511 - in branches/sled-10-ooo-build-2-3: . patches/src680



Author: rodo
Date: Tue Feb  5 15:22:22 2008
New Revision: 11511
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11511&view=rev

Log:
2008-01-31  Radek Doulik  <rodo novell com>

	* build/ooh680-m3/svx/source/editeng/impedit.cxx (ShowCursor):
	check whether cursor is in valid paragraph, fixes the problem
	introduced with n#305205 fix, fixes n#347355



Modified:
   branches/sled-10-ooo-build-2-3/ChangeLog
   branches/sled-10-ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff

Modified: branches/sled-10-ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff
==============================================================================
--- branches/sled-10-ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff	(original)
+++ branches/sled-10-ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff	Tue Feb  5 15:22:22 2008
@@ -11,3 +11,16 @@
      ImpInvalidateOutlinerView(*pOutlView);
      return pOutlView;
  }
+--- svx/source/editeng-orig/impedit.cxx	2008-01-30 11:46:56.000000000 +0100
++++ svx/source/editeng/impedit.cxx	2008-01-31 13:27:15.000000000 +0100
+@@ -710,6 +710,10 @@
+ 
+     USHORT nTextPortionStart = 0;
+     USHORT nPara = pEditEngine->pImpEditEngine->aEditDoc.GetPos( aPaM.GetNode() );
++
++    if( nPara == USHRT_MAX )
++        return;
++
+     ParaPortion* pParaPortion = pEditEngine->pImpEditEngine->GetParaPortions().GetObject( nPara );
+ 
+     nShowCursorFlags |= nExtraCursorFlags;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]