summaryrefslogtreecommitdiffstats
path: root/sc/inc/queryparam.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-19 13:05:27 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-19 13:05:27 -0500
commitebaaee24b13e1712a06cf483ccb7b6e169e83a00 (patch)
tree0e833f750fbb77e0eba0d73b99fb4f27e686cd6a /sc/inc/queryparam.hxx
parentRe-enabled the sheet copy test now that it passes. (diff)
downloadcore-ebaaee24b13e1712a06cf483ccb7b6e169e83a00.tar.gz
core-ebaaee24b13e1712a06cf483ccb7b6e169e83a00.zip
Ported calc-formula-db-function-fix.diff from the build repo.
This patch fixes n#594332 and n#595713.
Diffstat (limited to 'sc/inc/queryparam.hxx')
-rw-r--r--sc/inc/queryparam.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx
index 93302bd3c284..a87db5ffabcf 100644
--- a/sc/inc/queryparam.hxx
+++ b/sc/inc/queryparam.hxx
@@ -51,6 +51,8 @@ struct ScQueryParamBase
virtual ~ScQueryParamBase();
+ virtual bool IsValidFieldIndex() const;
+
SC_DLLPUBLIC SCSIZE GetEntryCount() const;
SC_DLLPUBLIC ScQueryEntry& GetEntry(SCSIZE n) const;
void Resize(SCSIZE nNew);
@@ -130,6 +132,8 @@ struct ScDBQueryParamInternal : public ScDBQueryParamBase, public ScQueryParamTa
{
ScDBQueryParamInternal();
virtual ~ScDBQueryParamInternal();
+
+ virtual bool IsValidFieldIndex() const;
};
// ============================================================================
@@ -140,6 +144,8 @@ struct ScDBQueryParamMatrix : public ScDBQueryParamBase
ScDBQueryParamMatrix();
virtual ~ScDBQueryParamMatrix();
+
+ virtual bool IsValidFieldIndex() const;
};
#endif