summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-11 22:02:06 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-11 22:03:25 +0200
commit73ff3a49a0891c7787f08eec86357c320a76c263 (patch)
treebd786b3c4aaa47beaaee8b641500b25cebc81f18
parent290a851bdc42a78426dea987ffbcb511e36c34fb (diff)
first part for ScTable::GetAutoFillPreview
Actually this is a bit more tricky. Currently it is showing wrong values for hidden rows/columns
-rw-r--r--sc/source/core/data/table4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 7c9fcf909562..e0915044a6a0 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1027,7 +1027,7 @@ String ScTable::GetAutoFillPreview( const ScRange& rSource, SCCOL nEndX, SCROW n
aValue = ((ScStringCell*)pCell)->GetString();
else
aValue = ((ScEditCell*)pCell)->GetString();
- if ( !(nScFillModeMouseModifier & KEY_MOD1) && !IsDataFiltered(nCol1, nRow1, nEndX, nEndY) )
+ if ( !(nScFillModeMouseModifier & KEY_MOD1) )
{
sal_Int32 nVal;
sal_uInt16 nCellDigits = 0; // look at each source cell individually
@@ -1048,7 +1048,7 @@ String ScTable::GetAutoFillPreview( const ScRange& rSource, SCCOL nEndX, SCROW n
{
// dabei kann's keinen Ueberlauf geben...
double nVal = ((ScValueCell*)pCell)->GetValue();
- if ( !(nScFillModeMouseModifier & KEY_MOD1) && !IsDataFiltered(nCol1, nRow1, nEndX, nEndY) )
+ if ( !(nScFillModeMouseModifier & KEY_MOD1) )
nVal += (double) nDelta;
Color* pColor;