diff options
Diffstat (limited to 'sc/source/core/data/dpshttab.cxx')
-rw-r--r-- | sc/source/core/data/dpshttab.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/core/data/dpshttab.cxx b/sc/source/core/data/dpshttab.cxx index 26cdf0fa766c..a04bb5a8f988 100644 --- a/sc/source/core/data/dpshttab.cxx +++ b/sc/source/core/data/dpshttab.cxx @@ -331,18 +331,6 @@ sal_uLong ScSheetSourceDesc::CheckSourceRange() const if (!mpDoc) return STR_ERR_DATAPILOTSOURCE; - const ScRange& aSrcRange = GetSourceRange(); - const ScAddress& s = aSrcRange.aStart; - const ScAddress& e = aSrcRange.aEnd; - for (SCCOL nCol = aSrcRange.aStart.Col(); nCol <= e.Col(); ++nCol) - { - if (mpDoc->IsBlockEmpty(s.Tab(), nCol, s.Row(), nCol, s.Row())) - return STR_PIVOT_FIRSTROWEMPTYERR; - } - - if (mpDoc->IsBlockEmpty(s.Tab(), s.Col(), s.Row()+1, e.Col(), e.Row())) - return STR_PIVOT_ONLYONEROWERR; - return 0; } |