diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-03 22:57:31 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-04 22:40:27 -0400 |
commit | d6edecd37c4fe71cdb7aea313ac1c7478c7920e4 (patch) | |
tree | 0e6ec8cba35f291f78f73bb1da66ce0b4be1a1c5 /sc/inc/global.hxx | |
parent | fa42b0d8382d1a509ff95a79dbd18787fd5b3735 (diff) |
Moved ScQueryEntry out of global.?xx to queryparam.?xx.
This is more appropriate.
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r-- | sc/inc/global.hxx | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index cc8c0fde1028..78360b69cf1e 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -741,46 +741,6 @@ enum ScSubTotalFunc SUBTOTAL_FUNC_VARP = 11 }; -/* - * dialog returns the special field values "empty"/"not empty" - * as constants SC_EMPTYFIELDS and SC_NONEMPTYFIELDS respectively in nVal in - * conjuctions with the flag bQueryByString = FALSE. - */ - -#define SC_EMPTYFIELDS ((double)0x0042) -#define SC_NONEMPTYFIELDS ((double)0x0043) - -namespace utl -{ - class SearchParam; - class TextSearch; -} - -struct ScQueryEntry -{ - bool bDoQuery; - bool bQueryByString; - bool bQueryByDate; - SCCOLROW nField; - ScQueryOp eOp; - ScQueryConnect eConnect; - String* pStr; - double nVal; - mutable utl::SearchParam* pSearchParam; // if RegExp, not saved - mutable utl::TextSearch* pSearchText; // if RegExp, not saved - - ScQueryEntry(); - ScQueryEntry(const ScQueryEntry& r); - ~ScQueryEntry(); - - // creates pSearchParam and pSearchText if necessary, always RegExp! - utl::TextSearch* GetSearchTextPtr( bool bCaseSens ) const; - - void Clear(); - ScQueryEntry& operator=( const ScQueryEntry& r ); - bool operator==( const ScQueryEntry& r ) const; -}; - class ScArea; struct ScConsolidateParam |