summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-18 03:38:08 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-18 03:38:53 +0900
commit84a1ca6d9136c71bf20514307876824c1f915c0a (patch)
tree11fb6761b7d3acc9735da8683f181d7926213bf8 /sc
parente0c713aa4c97b0c757be12879a63e5550712cc87 (diff)
fdo#46983 Macros: Macro to set filter in Calc does not work with .StringValue
this fixed a regression slipped into 8808d77f199720be596a09084fbc36569ed2f1f1
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/datauno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 8380c0b99bce..2043e26f92ef 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -1324,7 +1324,7 @@ throw(uno::RuntimeException)
if (!bByEmpty && !rEntry.GetQueryItems().empty())
{
const ScQueryEntry::Item& rItem = rEntry.GetQueryItems().front();
- aField.IsNumeric = !rItem.meType != ScQueryEntry::ByString;
+ aField.IsNumeric = rItem.meType != ScQueryEntry::ByString;
aField.StringValue = rItem.maString;
aField.NumericValue = rItem.mfVal;
}