[Libreoffice-commits] .: sc/inc sc/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Sun Nov 20 06:16:21 PST 2011
sc/inc/queryentry.hxx | 3 ++-
sc/source/core/tool/queryentry.cxx | 3 ---
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 840e2f3ef5b73807403084edf09b5e53a097dcb3
Author: Jan Holesovsky <kendy at suse.cz>
Date: Sun Nov 20 15:12:50 2011 +0100
Inline ScQueryEntry::Item::Item() to fix Windows build.
diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx
index 835c84a..5c88730 100644
--- a/sc/inc/queryentry.hxx
+++ b/sc/inc/queryentry.hxx
@@ -52,7 +52,8 @@ struct SC_DLLPUBLIC ScQueryEntry
double mfVal;
rtl::OUString maString;
- Item();
+ Item() : meType(ByValue), mfVal(0.0) {}
+
bool operator== (const Item& r) const;
};
typedef std::vector<Item> QueryItemsType;
diff --git a/sc/source/core/tool/queryentry.cxx b/sc/source/core/tool/queryentry.cxx
index 47a88e7..be107e7 100644
--- a/sc/source/core/tool/queryentry.cxx
+++ b/sc/source/core/tool/queryentry.cxx
@@ -39,9 +39,6 @@
#define SC_EMPTYFIELDS ((double)0x0042)
#define SC_NONEMPTYFIELDS ((double)0x0043)
-ScQueryEntry::Item::Item() :
- meType(ByValue), mfVal(0.0) {}
-
bool ScQueryEntry::Item::operator== (const Item& r) const
{
return meType == r.meType && mfVal == r.mfVal && maString.equals(r.maString);
More information about the Libreoffice-commits
mailing list