[Libreoffice-commits] core.git: sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Mar 30 03:49:07 UTC 2016
sc/source/core/data/fillinfo.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit b27428d2136e67ee7c7449a7db562a957af390d6
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Wed Mar 30 02:25:16 2016 +0200
stylistic changes in ScDocument::FillInfo
Change-Id: I98bb25d414106259a809698941a000d6d0bc35e0
Reviewed-on: https://gerrit.libreoffice.org/23634
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index c3dd480..71d0e02 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -470,8 +470,9 @@ void ScDocument::FillInfo(
--nCurRow; // 1 more on top
else
nArrRow = 1;
+
SCROW nThisRow = nCurRow; // end of range
- SCSIZE nIndex;
+ SCSIZE nIndex;
(void) pThisAttrArr->Search( nCurRow, nIndex );
do
@@ -599,6 +600,7 @@ void ScDocument::FillInfo(
}
// if style is not there, treat like no condition
}
+
if(aData.pColorScale)
{
pInfo->pColorScale.reset(aData.pColorScale);
@@ -610,6 +612,7 @@ void ScDocument::FillInfo(
pInfo->pDataBar.reset(aData.pDataBar);
bFound = true;
}
+
if(aData.pIconSet)
{
pInfo->pIconSet.reset(aData.pIconSet);
More information about the Libreoffice-commits
mailing list