diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-27 00:45:56 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-27 14:04:28 +0200 |
commit | 6baca4fcec1e2da240ac2e06bcb1fa1030c13d22 (patch) | |
tree | b9db0dc3a337c35291841400fa602979fb1b753f | |
parent | fix indentation (diff) | |
download | core-6baca4fcec1e2da240ac2e06bcb1fa1030c13d22.tar.gz core-6baca4fcec1e2da240ac2e06bcb1fa1030c13d22.zip |
don't need to get this one for each cell
Change-Id: I9aab49c7604add1d574949909f0ab8b867341b27
-rw-r--r-- | sc/source/core/data/fillinfo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index f3a01e99e3b6..743aa26832c5 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -362,6 +362,7 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX } } + ScConditionalFormatList* pCondFormList = GetCondFormList(nTab); for (nArrX=0; nArrX<=nX2+2; nArrX++) // links & rechts + 1 { nX = (nArrX>0) ? nArrX-1 : MAXCOL+1; // negativ -> ungueltig @@ -476,7 +477,6 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX sal_uLong nConditional = ((const SfxUInt32Item&)pPattern-> GetItem(ATTR_CONDITIONAL)).GetValue(); - ScConditionalFormatList* pCondFormList = GetCondFormList(nTab); const ScConditionalFormat* pCondForm = NULL; if ( nConditional && pCondFormList ) pCondForm = pCondFormList->GetFormat( nConditional ); |