ooo-build r11510 - in branches/ooo-build-2-3: . patches/src680



Author: rodo
Date: Tue Feb  5 15:20:25 2008
New Revision: 11510
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11510&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/ooo-build-2-3/ChangeLog
   branches/ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff

Modified: branches/ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff
==============================================================================
--- branches/ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff	(original)
+++ branches/ooo-build-2-3/patches/src680/svx-sdrobjeditview-update-edit-area.diff	Tue Feb  5 15:20:25 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]