| commit | 9e0dbe9f8c1fa9d2c50895985fe2c374fa9364ac | [log] |
|---|---|---|
| author | Markus Mohrhard <markus.mohrhard@googlemail.com> | Mon Dec 24 03:00:32 2012 +0100 |
| committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | Mon Dec 24 03:06:42 2012 +0100 |
| tree | 009b48f2763274107a0635c20a2856e1d830ac5a | |
| parent | 07c80d23fadcc2334fe7c6f9ce7b5dafeb88d623 [diff] |
be safe against invalid cond format cell info, fdo#58686 Change-Id: Ie89aee95755d9abd3b82062fac271cfe774174ec
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 16e0b06..a805661 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx
@@ -1792,6 +1792,9 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) { // check if at least one existing conditional format has the same range const ScConditionalFormat* pCondFormat = pList->GetFormat(*itr); if(!pCondFormat) continue; const ScRangeList& rCondFormatRange = pCondFormat->GetRange(); if(rCondFormatRange == aRangeList) {