Kaydet (Commit) 840e2f3e authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Inline ScQueryEntry::Item::Item() to fix Windows build.

üst a84651f3
...@@ -52,7 +52,8 @@ struct SC_DLLPUBLIC ScQueryEntry ...@@ -52,7 +52,8 @@ struct SC_DLLPUBLIC ScQueryEntry
double mfVal; double mfVal;
rtl::OUString maString; rtl::OUString maString;
Item(); Item() : meType(ByValue), mfVal(0.0) {}
bool operator== (const Item& r) const; bool operator== (const Item& r) const;
}; };
typedef std::vector<Item> QueryItemsType; typedef std::vector<Item> QueryItemsType;
......
...@@ -39,9 +39,6 @@ ...@@ -39,9 +39,6 @@
#define SC_EMPTYFIELDS ((double)0x0042) #define SC_EMPTYFIELDS ((double)0x0042)
#define SC_NONEMPTYFIELDS ((double)0x0043) #define SC_NONEMPTYFIELDS ((double)0x0043)
ScQueryEntry::Item::Item() :
meType(ByValue), mfVal(0.0) {}
bool ScQueryEntry::Item::operator== (const Item& r) const bool ScQueryEntry::Item::operator== (const Item& r) const
{ {
return meType == r.meType && mfVal == r.mfVal && maString.equals(r.maString); return meType == r.meType && mfVal == r.mfVal && maString.equals(r.maString);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment