diff -cNr sc-Orig/source/ui/docshell/dbdocfun.cxx sc/source/ui/docshell/dbdocfun.cxx *** sc-Orig/source/ui/docshell/dbdocfun.cxx Mon Jul 23 14:42:54 2007 --- sc/source/ui/docshell/dbdocfun.cxx Mon Jul 23 14:41:58 2007 *************** *** 908,915 **** if (!bCopy) pDoc->UpdatePageBreaks( nTab ); ! ScRange aDirtyRange( aLocalParam.nCol1, aLocalParam.nRow1, nDestTab, ! aLocalParam.nCol2, aLocalParam.nRow2, nDestTab ); pDoc->SetDirty( aDirtyRange ); if ( bRecord ) --- 908,915 ---- if (!bCopy) pDoc->UpdatePageBreaks( nTab ); ! ScRange aDirtyRange( 0 , aLocalParam.nRow1, nDestTab, ! MAXCOL, aLocalParam.nRow2, nDestTab ); pDoc->SetDirty( aDirtyRange ); if ( bRecord )