summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 12:17:43 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 14:13:24 -0500
commit88c456a0dccb05b300267da1bfaa4e53f8051e19 (patch)
treeba920545f11714c4d948ab37fd658ccd8f7f36bd /sc/inc
parentf3083a10f31f254058b7c847b27fd2adc4030b78 (diff)
Parse the query data first, then committing the query entries later.
This gives us the change to examine the query data and do some special-casing depending.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/queryentry.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx
index 19adf3f640f0..835c84ad3ae4 100644
--- a/sc/inc/queryentry.hxx
+++ b/sc/inc/queryentry.hxx
@@ -42,7 +42,7 @@ namespace utl {
/**
* Each instance of this struct represents a single filtering criteria.
*/
-struct ScQueryEntry
+struct SC_DLLPUBLIC ScQueryEntry
{
enum QueryType { ByValue, ByString, ByDate, ByEmpty };
@@ -73,12 +73,12 @@ struct ScQueryEntry
QueryItemsType& GetQueryItems();
const QueryItemsType& GetQueryItems() const;
- SC_DLLPUBLIC void SetQueryByEmpty();
- SC_DLLPUBLIC bool IsQueryByEmpty() const;
- SC_DLLPUBLIC void SetQueryByNonEmpty();
- SC_DLLPUBLIC bool IsQueryByNonEmpty() const;
- SC_DLLPUBLIC const Item& GetQueryItem() const;
- SC_DLLPUBLIC Item& GetQueryItem();
+ void SetQueryByEmpty();
+ bool IsQueryByEmpty() const;
+ void SetQueryByNonEmpty();
+ bool IsQueryByNonEmpty() const;
+ const Item& GetQueryItem() const;
+ Item& GetQueryItem();
void Clear();
ScQueryEntry& operator=( const ScQueryEntry& r );
bool operator==( const ScQueryEntry& r ) const;