sc/source/core/data/conditio.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9f14fa5f5f6c6edd596a0bfaa9a24facb5c6d83f Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Tue Aug 28 02:59:39 2012 +0200 don't crash for invalid repaint ranges in cond formats, fdo#53839 Change-Id: I83cbb2574849c69fba3ca315d7507358654ff2b9 diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 97ffd61..a5e637c 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -1126,7 +1126,7 @@ void ScConditionEntry::SourceChanged( const ScAddress& rChanged ) ScRange aPaint( nCol1,nRow1,nTab1, nCol2,nRow2,nTab2 ); // kein Paint, wenn es nur die Zelle selber ist - if ( aPaint.aStart != rChanged || aPaint.aEnd != rChanged ) + if ( aPaint.IsValid() && (aPaint.aStart != rChanged || aPaint.aEnd != rChanged )) DataChanged( &aPaint ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits