summaryrefslogtreecommitdiff
path: root/sc/inc/dbcolect.hxx
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2013-09-06 15:26:36 +0000
committerOliver-Rainer Wittmann <orw@apache.org>2013-09-06 15:26:36 +0000
commit2e1614441cf56ed174572e2b92a451055ad626bd (patch)
treed51318b842f9aa55e512c89243eed2a817531592 /sc/inc/dbcolect.hxx
parent8e46b8bc28fffec586137b4b525d2e23648cceac (diff)
122862: adjust code for issue 12666 in order to solve regressions 122862, 122870, 122955, 123161 and 123163
For 12666 new internal database ranges have been introduced. The fix reduced its usage to the once needed for the Auto Filter function. Standard Filter and Special Filter should be untouched now.
Notes
Notes: prefer: 7df4c7feacf51c141a7beaa2a8404d932d7c2e86
Diffstat (limited to 'sc/inc/dbcolect.hxx')
-rw-r--r--sc/inc/dbcolect.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sc/inc/dbcolect.hxx b/sc/inc/dbcolect.hxx
index 3c436d9f3e98..ca244359a4b5 100644
--- a/sc/inc/dbcolect.hxx
+++ b/sc/inc/dbcolect.hxx
@@ -136,8 +136,10 @@ public:
void GetArea(SCTAB& rTab, SCCOL& rCol1, SCROW& rRow1, SCCOL& rCol2, SCROW& rRow2) const;
SC_DLLPUBLIC void GetArea(ScRange& rRange) const;
void SetArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
- //If the name of DBData is started with "unnamed", it will be recognized as build in DBData
- sal_Bool IsBuildin();
+
+ bool IsInternalUnnamed() const;
+ bool IsInternalForAutoFilter() const;
+
void MoveTo(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
sal_Bool IsByRow() const { return bByRow; }
void SetByRow(sal_Bool bByR) { bByRow = bByR; }
@@ -216,9 +218,13 @@ public:
virtual short Compare(ScDataObject* pKey1, ScDataObject* pKey2) const;
virtual sal_Bool IsEqual(ScDataObject* pKey1, ScDataObject* pKey2) const;
ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bStartOnly) const;
- ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const;
+ ScDBData* GetDBAtArea(
+ const SCTAB nTab,
+ const SCCOL nCol1,
+ const SCROW nRow1,
+ const SCCOL nCol2,
+ const SCROW nRow2 ) const;
ScDBData* GetFilterDBAtTable(SCTAB nTab) const;
- ScDBData* GetDBAtTable(SCTAB nTab, ScGetDBMode eMode) const;
sal_Bool SearchName( const String& rName, sal_uInt16& rIndex ) const;