diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-01-19 13:05:27 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-19 13:05:27 -0500 |
commit | ebaaee24b13e1712a06cf483ccb7b6e169e83a00 (patch) | |
tree | 0e833f750fbb77e0eba0d73b99fb4f27e686cd6a /sc/inc/queryparam.hxx | |
parent | dafa80704dfae42473d5ae38bc22174c30ff8c11 (diff) |
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.hxx | 6 |
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 |