ooo-build r13750 - in trunk: . patches/dev300
- From: kyoshida svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r13750 - in trunk: . patches/dev300
- Date: Mon, 1 Sep 2008 19:41:50 +0000 (UTC)
Author: kyoshida
Date: Mon Sep 1 19:41:50 2008
New Revision: 13750
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13750&view=rev
Log:
2008-09-01 Kohei Yoshida <kyoshida novell com>
* patches/dev300/sc-skip-overlapped-cells.diff: check the validity of
the row number before calling HasAttrib to check for an overlapped
state of a cell.
Modified:
trunk/ChangeLog
trunk/patches/dev300/sc-skip-overlapped-cells.diff
Modified: trunk/patches/dev300/sc-skip-overlapped-cells.diff
==============================================================================
--- trunk/patches/dev300/sc-skip-overlapped-cells.diff (original)
+++ trunk/patches/dev300/sc-skip-overlapped-cells.diff Mon Sep 1 19:41:50 2008
@@ -17,8 +17,8 @@
BOOL bUp = ( nMovY < 0 );
nRow = rMark.GetNextMarked( nCol, nRow, bUp );
- while ( VALIDROW(nRow) && pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN) )
-+ while ( (VALIDROW(nRow) && pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN)) ||
-+ pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED) )
++ while ( VALIDROW(nRow) && ((pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN)) ||
++ pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) )
{
// #53697# ausgeblendete ueberspringen (s.o.)
nRow += nMovY;
@@ -27,8 +27,8 @@
nRow = 0;
nRow = rMark.GetNextMarked( nCol, nRow, bUp );
- while ( VALIDROW(nRow) && pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN) )
-+ while ( (VALIDROW(nRow) && pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN)) ||
-+ pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED) )
++ while ( VALIDROW(nRow) && ((pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN)) ||
++ pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) )
{
// #53697# ausgeblendete ueberspringen (s.o.)
nRow += nMovY;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]