diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-01 22:53:04 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-02 14:58:10 +0100 |
commit | 442cd0fa1e33fd6128d311ca4f76da4247fd35ba (patch) | |
tree | b88dc88e414540689c6201e0562d3ed902242a36 | |
parent | 8b9a263a55859a46d301b7ae9574fe0bb5050c55 (diff) |
only get cond format data for visible cells
Change-Id: I99cea6cd34f0493869b68f237ad2f7d3b6945fa2
-rw-r--r-- | sc/source/core/data/fillinfo.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index f665bea8c276..6606fc2b643e 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -534,6 +534,9 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX for(std::vector<sal_uInt32>::const_iterator itr = rCondFormats.begin(); itr != rCondFormats.end() && !bFound; ++itr) { + if(!pInfo->pCell) + continue; + ScConditionalFormat* pCondForm = pCondFormList->GetFormat(*itr); if(!pCondForm) continue; |