summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorDennis Francis <dennisfrancis.in@gmail.com>2016-01-22 22:14:54 +0530
committerEike Rathke <erack@redhat.com>2016-02-03 13:23:29 +0000
commit1e619fdf9e79cb49895d83fe7f5a1f373495b915 (patch)
treeaf2980470f99e92e129919c8d5a595b3e5f3e8ae /sc/inc/table.hxx
parentd9e362e4516a5df77f3edd12d57ce224a0a4979d (diff)
tdf#34873 : Better way to show autofilter count
This patch modifies the commit 3536fe8f4cdbacf5702e743407f34d918b6f4d38 by keeping the filtered row count inside ScDBData instead of ScTable as suggested by Eike Rathke. This significantly reduced the code complexity involved. Change-Id: I30ac26061d9665ce7a749e23a636f7fb3f69b176 Reviewed-on: https://gerrit.libreoffice.org/21720 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index d6111dda7526..d2672fe3ff36 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -117,16 +117,6 @@ class ScHint;
class ScTable : private boost::noncopyable
{
private:
- // To store an Autofilter's filtered row count
- struct FilteredRowCountData {
- SCROW nStartRow;
- SCROW nEndRow;
- SCSIZE nCount;
- FilteredRowCountData(SCROW nRow1, SCROW nRow2, SCSIZE nVal) :
- nStartRow(nRow1), nEndRow(nRow2), nCount(nVal)
- {}
- };
-
typedef ::std::vector< ScRange > ScRangeVec;
ScColumn aCol[MAXCOLCOUNT];
@@ -161,7 +151,6 @@ private:
std::unique_ptr<ScFlatBoolRowSegments> mpHiddenRows;
std::unique_ptr<ScFlatBoolColSegments> mpFilteredCols;
std::unique_ptr<ScFlatBoolRowSegments> mpFilteredRows;
- FilteredRowCountData maFilteredRowCount;
::std::set<SCROW> maRowPageBreaks;
::std::set<SCROW> maRowManualBreaks;