summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-18 03:38:08 +0900
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-17 15:18:16 -0400
commit5920b681eaf2f1203efd5af581827db2e1a81bc8 (patch)
tree9314ac1e523136a7ff1beca67c3185a9e1f60b06 /sc
parentb3c88b75058d4d3f9ac376956222fe84f064bf75 (diff)
fdo#46983 Macros: Macro to set filter in Calc does not work with .StringValue
this fixed a regression slipped into 8808d77f199720be596a09084fbc36569ed2f1f1 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
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 3695f1440425..69252edaf591 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -1334,7 +1334,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;
}